mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix: Move chunk splitting from prod to common so we get the same files in dev as prod
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user