Browse Source

打包

milestone-20251107-股票知识测评
chenzhen 2 months ago
parent
commit
f88bb4c375
  1. 19
      vue.config.js

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