mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +08:00
perf: disable source map to make compilation faster (#12484)
This commit is contained in:
parent
ba0d2b7532
commit
3c3f96e268
@ -58,6 +58,8 @@ export async function compileSite(isProd = false) {
|
||||
},
|
||||
output: {
|
||||
assetPrefix,
|
||||
// make compilation faster
|
||||
disableSourceMap: true,
|
||||
distPath: {
|
||||
root: vantConfig.build?.site?.outputDir || SITE_DIST_DIR,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user