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 627bbb3..6aa6212 100644
--- a/package.json
+++ b/package.json
@@ -42,8 +42,8 @@
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",
46 "lodash.difference": "^4.5.0", 45 "lodash.difference": "^4.5.0",
46 "loader-utils": "^1.0.2",
47 "promise-retry": "^1.1.0" 47 "promise-retry": "^1.1.0"
48 }, 48 },
49 "devDependencies": { 49 "devDependencies": {
diff --git a/src/index.js b/src/index.js
index 6fb2fce..047927c 100644
--- a/src/index.js
+++ b/src/index.js
@@ -15,7 +15,7 @@ const eol = require('os').EOL
15module.exports = function purescriptLoader(source, map) { 15module.exports = function purescriptLoader(source, map) {
16 const callback = this.async() 16 const callback = this.async()
17 const config = this.options 17 const config = this.options
18 const query = loaderUtils.parseQuery(this.query) 18 const query = loaderUtils.getOptions(this) || {}
19 const webpackOptions = this.options.purescriptLoader || {} 19 const webpackOptions = this.options.purescriptLoader || {}
20 20
21 const depsPaths = (pscPackage => { 21 const depsPaths = (pscPackage => {