mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
feat(cli): add webpack maxAssetSize config
This commit is contained in:
@@ -14,6 +14,10 @@ export function getSitePrdConfig() {
|
||||
{
|
||||
mode: 'production',
|
||||
stats: 'none',
|
||||
performance: {
|
||||
maxAssetSize: 5 * 1024 * 1024,
|
||||
maxEntrypointSize: 5 * 1024 * 1024,
|
||||
},
|
||||
output: {
|
||||
publicPath,
|
||||
path: outputDir,
|
||||
|
Reference in New Issue
Block a user