aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorryani33 <xiaoyu.zhai@hotmail.com>2017-02-25 12:32:40 +0800
committerryani33 <xiaoyu.zhai@hotmail.com>2017-02-25 12:32:40 +0800
commit8bdff27290a98fc2cfbc9d516b011a399af01b5c (patch)
treed604d3f2ad701f5893bed9c345e40e875c945fcc /src
parenta3c358f80f8197d5a1d05e42916cd5593b5b2dd5 (diff)
downloadpurs-loader-8bdff27290a98fc2cfbc9d516b011a399af01b5c.tar.gz
purs-loader-8bdff27290a98fc2cfbc9d516b011a399af01b5c.tar.zst
purs-loader-8bdff27290a98fc2cfbc9d516b011a399af01b5c.zip
fix deprecated warning
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 => {