You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
354 B

2 months ago
2 months ago
  1. const { defineConfig } = require('@vue/cli-service')
  2. // vue.config.js
  3. module.exports = {
  4. transpileDependencies: true,
  5. parallel: false,
  6. productionSourceMap: false, // 关闭 source map 加速构建
  7. configureWebpack: {
  8. performance: {
  9. hints: false
  10. },
  11. optimization: {
  12. splitChunks: {
  13. chunks: 'all'
  14. }
  15. }
  16. }
  17. }