2 Commits

Author SHA1 Message Date
chenzhen f88bb4c375 打包 2 months ago
chenzhen ebc0d30fdf 打包完成 2 months ago
  1. 11907
      package-lock.json
  2. 19
      vue.config.js

11907
package-lock.json
File diff suppressed because it is too large
View File

19
vue.config.js

@ -1,4 +1,17 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
})
// vue.config.js
module.exports = {
transpileDependencies: true,
parallel: false,
productionSourceMap: false, // 关闭 source map 加速构建
configureWebpack: {
performance: {
hints: false
},
optimization: {
splitChunks: {
chunks: 'all'
}
}
}
}
Loading…
Cancel
Save