Optimize build with splitChunks

This commit is contained in:
Sandra
2022-01-31 02:22:18 +01:00
parent c7f8ecf6c4
commit bb2f786965

10
frontend/vue.config.js Normal file
View File

@@ -0,0 +1,10 @@
module.exports = {
configureWebpack: {
optimization: {
splitChunks: {
minSize: 32_768, // 32 KiB
maxSize: 262_144, // 256 KiB
}
}
}
};