From 198d2cb30ae6ecffb56765257e046178c51b4470 Mon Sep 17 00:00:00 2001 From: Michcio Date: Fri, 23 Sep 2022 11:53:19 +0200 Subject: [PATCH] Produce sourcemaps always (debugging on prod is hard) --- packages/client/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/client/vite.config.ts b/packages/client/vite.config.ts index 443582a8d..4f50c5fda 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -67,7 +67,7 @@ export default defineConfig(({ command, mode }) => { outDir: __dirname + '/../../built/_client_dist_', assetsDir: '.', emptyOutDir: false, - sourcemap: process.env.NODE_ENV !== 'production', + sourcemap: true, reportCompressedSize: false, }, };