From 4558c24d1c1e1faa3326650fc16e6baf384509ac Mon Sep 17 00:00:00 2001 From: Soybean Date: Tue, 31 May 2022 23:02:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(projects):=20=E4=BF=AE=E5=A4=8D@antv/g2?= =?UTF-8?q?=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ISSUES CLOSED: \ --- vite.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index ed110251e..c25436dfe 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -36,7 +36,11 @@ export default defineConfig(configEnv => { proxy: createViteProxy(isOpenProxy, envConfig) }, build: { - brotliSize: false + brotliSize: false, + sourcemap: true, + commonjsOptions: { + ignoreTryCatch: false + } } }; });