diff options
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 249f472..e49fd2c 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -18,7 +18,7 @@ const requireRegex = /require\(['"]\.\.\/([\w\.]+)['"]\)/g | |||
18 | module.exports = function purescriptLoader(source, map) { | 18 | module.exports = function purescriptLoader(source, map) { |
19 | const callback = this.async() | 19 | const callback = this.async() |
20 | const config = this.options | 20 | const config = this.options |
21 | const query = loaderUtils.parseQuery(this.query) | 21 | const query = loaderUtils.getOptions(this) || {} |
22 | const webpackOptions = this.options.purescriptLoader || {} | 22 | const webpackOptions = this.options.purescriptLoader || {} |
23 | 23 | ||
24 | const depsPaths = (pscPackage => { | 24 | const depsPaths = (pscPackage => { |