mirror of
https://github.com/youzan/vant.git
synced 2025-10-15 23:55:08 +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: {
|
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,
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user