This commit is contained in:
cansnow
2025-12-23 00:18:46 +08:00
parent 59d1ba9a7e
commit f49f1f1ad1
54 changed files with 25338 additions and 333 deletions
+12
View File
@@ -0,0 +1,12 @@
module.exports = {
configureWebpack: {
// 开启缓存
cache: true,
// 并行构建
parallel: require('os').cpus().length > 1,
// 关闭sourcemap加速生产构建
productionSourceMap: false
},
// 关闭文件hash (开发环境)
filenameHashing: process.env.NODE_ENV !== 'production'
}