mirror of
https://github.com/OkaeriPoland/okaeri-timings.git
synced 2026-01-18 03:28:20 +01:00
Optimize build with splitChunks
This commit is contained in:
10
frontend/vue.config.js
Normal file
10
frontend/vue.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
configureWebpack: {
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
minSize: 32_768, // 32 KiB
|
||||
maxSize: 262_144, // 256 KiB
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user