From ad758304a160b530dcf4491e7b568448d12da5e1 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 1 Mar 2024 09:52:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20sourcemap=E5=B1=9E=E6=80=A7=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/frontend/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/frontend/vue.config.js b/core/frontend/vue.config.js index e68e0fbd32..fb17ba42a3 100644 --- a/core/frontend/vue.config.js +++ b/core/frontend/vue.config.js @@ -17,7 +17,7 @@ const name = defaultSettings.title || 'vue Admin Template' // page title const port = process.env.port || process.env.npm_config_port || 9528 // dev port const parallel = process.env.NODE_ENV === 'development' module.exports = { - productionSourceMap: false, + productionSourceMap: true, publicPath: process.env.VUE_CONTEXT_PATH, parallel, // 使用mock-server