1
0
mirror of https://gitee.com/vant-contrib/vant.git synced 2025-04-06 03:57:59 +08:00

perf: disable source map to make compilation faster ()

This commit is contained in:
neverland 2023-12-04 17:29:52 +08:00 committed by GitHub
parent ba0d2b7532
commit 3c3f96e268
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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,
},