aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--package.json2
-rw-r--r--src/index.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 09301db..f16ee86 100644
--- a/package.json
+++ b/package.json
@@ -42,7 +42,7 @@
42 "debug": "^2.2.0", 42 "debug": "^2.2.0",
43 "globby": "^4.0.0", 43 "globby": "^4.0.0",
44 "js-string-escape": "^1.0.1", 44 "js-string-escape": "^1.0.1",
45 "loader-utils": "^0.2.14", 45 "loader-utils": "^1.0.2",
46 "promise-retry": "^1.1.0" 46 "promise-retry": "^1.1.0"
47 }, 47 },
48 "devDependencies": { 48 "devDependencies": {
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
18module.exports = function purescriptLoader(source, map) { 18module.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 => {