fix: Move chunk splitting from prod to common so we get the same files in dev as prod

This commit is contained in:
Johannes Schill committed 2019-03-05 13:29:54 +01:00
1 parent be8f60b0bf
commit e3ddfccb61
3 files changed
+13 -31

No files matched your search

-19
View File
@@ -58,25 +58,6 @@ module.exports = merge(common, {
]
},
optimization: {
splitChunks: {
cacheGroups: {
manifest: {
chunks: "initial",
test: "vendor",
name: "vendor",
enforce: true
},
vendor: {
chunks: "initial",
test: "vendor",
name: "vendor",
enforce: true
}
}
}
},
plugins: [
new CleanWebpackPlugin('../../public/build', { allowExternal: true }),
new MiniCssExtractPlugin({