diff --git a/vue.config.js b/vue.config.js index 910e297..ee193bf 100644 --- a/vue.config.js +++ b/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' + } + } + } +} \ No newline at end of file