diff options
Diffstat (limited to 'lib/index.js')
-rw-r--r-- | lib/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js index c6e88f8..ad45eac 100644 --- a/lib/index.js +++ b/lib/index.js | |||
@@ -123,7 +123,8 @@ module.exports = function purescriptLoader(source, map) { | |||
123 | warnings: true, | 123 | warnings: true, |
124 | watch: false, | 124 | watch: false, |
125 | output: 'output', | 125 | output: 'output', |
126 | src: [] | 126 | src: [], |
127 | rewriteRules: {} | ||
127 | }, loaderOptions, { | 128 | }, loaderOptions, { |
128 | src: srcOption | 129 | src: srcOption |
129 | }); | 130 | }); |
@@ -266,6 +267,7 @@ module.exports = function purescriptLoader(source, map) { | |||
266 | var _resolved = utils.resolvePursModule({ | 267 | var _resolved = utils.resolvePursModule({ |
267 | baseModulePath: baseModulePath, | 268 | baseModulePath: baseModulePath, |
268 | baseModuleName: baseModuleName, | 269 | baseModuleName: baseModuleName, |
270 | rewriteRules: options.rewriteRules, | ||
269 | targetModuleName: targetModuleName | 271 | targetModuleName: targetModuleName |
270 | }); | 272 | }); |
271 | _this.addDependency(_resolved); | 273 | _this.addDependency(_resolved); |