We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57f21c0 commit 2fd5ddfCopy full SHA for 2fd5ddf
lib/ContextExclusionPlugin.js
@@ -17,9 +17,7 @@ class ContextExclusionPlugin {
17
* @returns {void}
18
*/
19
apply(compiler) {
20
- compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", (
21
- /** @type {ContextModuleFactory} */ cmf
22
- ) => {
+ compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => {
23
cmf.hooks.contextModuleFiles.tap("ContextExclusionPlugin", files => {
24
return files.filter(filePath => !this.negativeMatcher.test(filePath));
25
});
0 commit comments