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