Skip to content

Commit 2fd5ddf

Browse files
committed
cr
1 parent 57f21c0 commit 2fd5ddf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/ContextExclusionPlugin.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ class ContextExclusionPlugin {
1717
* @returns {void}
1818
*/
1919
apply(compiler) {
20-
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", (
21-
/** @type {ContextModuleFactory} */ cmf
22-
) => {
20+
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => {
2321
cmf.hooks.contextModuleFiles.tap("ContextExclusionPlugin", files => {
2422
return files.filter(filePath => !this.negativeMatcher.test(filePath));
2523
});

0 commit comments

Comments
 (0)