From 9e2a64b471172758d4508d63c29adc1851321fa3 Mon Sep 17 00:00:00 2001 From: frostime Date: Sun, 30 Jun 2024 12:45:18 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20ci(vite):=20=E7=94=9F=E6=88=90?= =?UTF-8?q?=20inline=20source=20map=EF=BC=8C=E6=96=B9=E4=BE=BF=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 31fc585..b7d3dae 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -69,7 +69,7 @@ export default defineConfig({ emptyOutDir: false, // 构建后是否生成 source map 文件 - sourcemap: false, + sourcemap: 'inline', // 设置为 false 可以禁用最小化混淆 // 或是用来指定是应用哪种混淆器