mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(cli): add webpack maxAssetSize config
This commit is contained in:
parent
3b5b01897f
commit
ecce907de7
@ -14,6 +14,10 @@ export function getSitePrdConfig() {
|
||||
{
|
||||
mode: 'production',
|
||||
stats: 'none',
|
||||
performance: {
|
||||
maxAssetSize: 5 * 1024 * 1024,
|
||||
maxEntrypointSize: 5 * 1024 * 1024,
|
||||
},
|
||||
output: {
|
||||
publicPath,
|
||||
path: outputDir,
|
||||
|
Loading…
x
Reference in New Issue
Block a user