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',
|
mode: 'production',
|
||||||
stats: 'none',
|
stats: 'none',
|
||||||
|
performance: {
|
||||||
|
maxAssetSize: 5 * 1024 * 1024,
|
||||||
|
maxEntrypointSize: 5 * 1024 * 1024,
|
||||||
|
},
|
||||||
output: {
|
output: {
|
||||||
publicPath,
|
publicPath,
|
||||||
path: outputDir,
|
path: outputDir,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user