Skip to content

Commit

Permalink
[win]: Fixed the circular dependency exclude path
Browse files Browse the repository at this point in the history
So `webpack` does not try to detect module cycles under `node_modules`.

Signed-off-by: Akos Kitta <[email protected]>
  • Loading branch information
Akos Kitta authored and kittaakos committed Jan 19, 2020
1 parent 8c568f5 commit a72cc42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ if (staticCompression) {
}));
}
plugins.push(new CircularDependencyPlugin({
exclude: /(node_modules|examples)\\/./,
exclude: /(node_modules|examples)[\\\\|\/]./,
failOnError: false // https://github.com/nodejs/readable-stream/issues/280#issuecomment-297076462
}));
Expand Down

0 comments on commit a72cc42

Please sign in to comment.