From f88bb4c375be748c64ba3bbccdde52431226eb6d Mon Sep 17 00:00:00 2001 From: chenzhen <19553350107@163.com> Date: Sun, 16 Nov 2025 18:07:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vue.config.js | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) 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