feat: refactoring project
This commit is contained in:
6
node_modules/webpack/lib/ContextExclusionPlugin.js
generated
vendored
6
node_modules/webpack/lib/ContextExclusionPlugin.js
generated
vendored
@@ -22,9 +22,9 @@ class ContextExclusionPlugin {
|
||||
*/
|
||||
apply(compiler) {
|
||||
compiler.hooks.contextModuleFactory.tap("ContextExclusionPlugin", cmf => {
|
||||
cmf.hooks.contextModuleFiles.tap("ContextExclusionPlugin", files => {
|
||||
return files.filter(filePath => !this.negativeMatcher.test(filePath));
|
||||
});
|
||||
cmf.hooks.contextModuleFiles.tap("ContextExclusionPlugin", files =>
|
||||
files.filter(filePath => !this.negativeMatcher.test(filePath))
|
||||
);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user