aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/index.js
diff options
context:
space:
mode:
authorCyril Sobierajewicz <38043722+cyrilfretlink@users.noreply.github.com>2019-03-22 17:38:38 +0100
committerGitHub <noreply@github.com>2019-03-22 17:38:38 +0100
commit1d773423c3b988f03d87cb4b8f21d15c53877894 (patch)
tree70bec9007e7a07e6ba91eaf8b24e18b19e4c8819 /src/index.js
parentd2dedd26a0ff0133904956198ce694c241214dfa (diff)
parent9767783f57f4d10c7633e5a652f81cf13cd5c000 (diff)
downloadpurs-loader-1d773423c3b988f03d87cb4b8f21d15c53877894.tar.gz
purs-loader-1d773423c3b988f03d87cb4b8f21d15c53877894.tar.zst
purs-loader-1d773423c3b988f03d87cb4b8f21d15c53877894.zip
Merge pull request #4 from cyrilfretlink/4.2.0purs-css-modules-webpack-plugin
Version 4.2.0
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index be809c6..d713737 100644
--- a/src/index.js
+++ b/src/index.js
@@ -126,7 +126,8 @@ module.exports = function purescriptLoader(source, map) {
126 warnings: true, 126 warnings: true,
127 watch: false, 127 watch: false,
128 output: 'output', 128 output: 'output',
129 src: [] 129 src: [],
130 rewriteRules: {}
130 }, loaderOptions, { 131 }, loaderOptions, {
131 src: srcOption 132 src: srcOption
132 }); 133 });
@@ -227,6 +228,7 @@ module.exports = function purescriptLoader(source, map) {
227 const resolved = utils.resolvePursModule({ 228 const resolved = utils.resolvePursModule({
228 baseModulePath, 229 baseModulePath,
229 baseModuleName, 230 baseModuleName,
231 rewriteRules: options.rewriteRules,
230 targetModuleName 232 targetModuleName
231 }); 233 });
232 this.addDependency(resolved); 234 this.addDependency(resolved);