Skip to content

Commit b9a2478

Browse files
Andrey-Pavlovkatallaxie
authored andcommitted
Fixes PatrickJS#1415 ~ Bug with CommonsChunkPlugin and Win paths (PatrickJS#1413)
PatrickJS#1413
1 parent ab4724d commit b9a2478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/webpack.common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ module.exports = function (options) {
225225
new CommonsChunkPlugin({
226226
name: 'vendor',
227227
chunks: ['main'],
228-
minChunks: module => /node_modules\//.test(module.resource)
228+
minChunks: module => /node_modules/.test(module.resource)
229229
}),
230230
// Specify the correct order the scripts will be injected in
231231
new CommonsChunkPlugin({

0 commit comments

Comments
 (0)