mirror of
https://github.com/youzan/vant.git
synced 2025-10-16 16:04:04 +00:00
perf: disable source map to make compilation faster (#12484)
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
Reference in New Issue
Block a user