Simplify generation

This commit is contained in:
Paulo Gustavo Veiga 2021-02-25 23:01:12 -08:00
parent e647748717
commit c0c380a7b5

View File

@ -42,15 +42,10 @@ module.exports = {
splitChunks: { splitChunks: {
cacheGroups: { cacheGroups: {
vendors: { vendors: {
test: /node_modules\/(?!@material-ui\/).*/, test: /node_modules\/.*/,
name: "vendors", name: "vendors",
chunks: "all", chunks: "all",
}, }
material: {
test: /node_modules\/(@material-ui\/).*/,
name: "material-ui",
chunks: "all",
},
}, },
} }
}, },