From e44be45c900c01b5618242cb8b936177d1ba40a1 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 413c397ea..b4881c6b8 100644 --- a/packages/client/vite.config.ts +++ b/packages/client/vite.config.ts @@ -70,7 +70,7 @@ export default defineConfig(({ command, mode }) => { outDir: __dirname + '/../../built/_client_dist_', assetsDir: '.', emptyOutDir: false, - sourcemap: process.env.NODE_ENV !== 'production', + sourcemap: true, reportCompressedSize: false, }, };