aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authoreric thul <thul.eric@gmail.com>2017-04-15 15:48:12 -0400
committereric thul <thul.eric@gmail.com>2017-04-15 15:48:12 -0400
commit33d2ee7199faef1cd9229d7aa0584446b78c39b0 (patch)
tree1dc20d4b31c250a89a084f5c8332e4f24975781a /src
parent496cc5965d7edef3a93df1ee5ae18afd61074168 (diff)
parent8bdff27290a98fc2cfbc9d516b011a399af01b5c (diff)
downloadpurs-loader-33d2ee7199faef1cd9229d7aa0584446b78c39b0.tar.gz
purs-loader-33d2ee7199faef1cd9229d7aa0584446b78c39b0.tar.zst
purs-loader-33d2ee7199faef1cd9229d7aa0584446b78c39b0.zip
Merge branch 'fix-deprecated-warning' of https://github.com/ryani33/purs-loader into ryani33-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 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 => {