mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2025-12-30 01:32:26 +00:00
chore: 添加实验性最小分块大小配置以优化性能
添加 experimentalMinChunkSize 配置项,设置为 20KB 以优化打包时的分块策略
This commit is contained in:
@@ -63,6 +63,7 @@ function defineApplicationConfig(userConfigPromise?: DefineApplicationOptions) {
|
||||
assetFileNames: '[ext]/[name]-[hash].[ext]',
|
||||
chunkFileNames: 'js/[name]-[hash].js',
|
||||
entryFileNames: 'jse/index-[name]-[hash].js',
|
||||
experimentalMinChunkSize: 20 * 1024,
|
||||
},
|
||||
},
|
||||
target: 'es2015',
|
||||
|
||||
Reference in New Issue
Block a user