diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-08 11:46:35 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-04-08 11:46:35 +0530 |
| commit | ccf73485cfba952451144d7841cbb3fac8368867 (patch) | |
| tree | 642b374684afa6ad4446af556fd98f118609d5c7 /config/webpack/plugins/create-rules-webpack-plugin.js | |
| parent | c59c25bff510166011471b136d12c4217f844eb9 (diff) | |
| download | banglar-bhumi-utils-ccf73485cfba952451144d7841cbb3fac8368867.tar.gz banglar-bhumi-utils-ccf73485cfba952451144d7841cbb3fac8368867.zip | |
Injecting shared modules for the injected scripts, further reusing code.
Diffstat (limited to 'config/webpack/plugins/create-rules-webpack-plugin.js')
| -rw-r--r-- | config/webpack/plugins/create-rules-webpack-plugin.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/webpack/plugins/create-rules-webpack-plugin.js b/config/webpack/plugins/create-rules-webpack-plugin.js index 4a02e2f..d02decd 100644 --- a/config/webpack/plugins/create-rules-webpack-plugin.js +++ b/config/webpack/plugins/create-rules-webpack-plugin.js @@ -8,8 +8,7 @@ class CreateRulesPlugin { compilation.hooks.processAssets.tap( { name: "CreateRulesPlugin", - stage: compiler.webpack.Compilation.PROCESS_ASSETS_ADDITIONAL, - additionalAssets: true + stage: compiler.webpack.Compilation.PROCESS_ASSETS_STAGE_ADDITIONAL }, assets => { const ruleFileNames = fs.readdirSync(path.resolve(SOURCE_DIR, "rules")); |
