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 (#12484)
This commit is contained in:
parent
ba0d2b7532
commit
3c3f96e268
@ -58,6 +58,8 @@ export async function compileSite(isProd = false) {
|
|||||||
},
|
},
|
||||||
output: {
|
output: {
|
||||||
assetPrefix,
|
assetPrefix,
|
||||||
|
// make compilation faster
|
||||||
|
disableSourceMap: true,
|
||||||
distPath: {
|
distPath: {
|
||||||
root: vantConfig.build?.site?.outputDir || SITE_DIST_DIR,
|
root: vantConfig.build?.site?.outputDir || SITE_DIST_DIR,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user