|
@@ -89,12 +89,12 @@ module.exports={
|
|
|
chunks: 'all',
|
|
|
minSize: 20000,
|
|
|
cacheGroups: {
|
|
|
- // vendors: {
|
|
|
- // test: /[\\/]node_modules[\\/]/,
|
|
|
- // priority: -10,
|
|
|
- // reuseExistingChunk: true,
|
|
|
- // name: 'vendors'
|
|
|
- // }
|
|
|
+ index: {
|
|
|
+ test: /[\\/]node_modules[\\/]/,
|
|
|
+ priority: -10,
|
|
|
+ reuseExistingChunk: true,
|
|
|
+ name: 'index'
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|