Simplify generation

This commit is contained in:
Paulo Gustavo Veiga 2021-02-25 23:01:12 -08:00
parent bf263cc79e
commit 77dd1f0480

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",
},
}, },
} }
}, },