aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.js2
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
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 => {