From 58d13a410767820d93885f79d3b1f47572d28bf4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thea=20Sch=C3=B6bl?= Date: Tue, 5 Dec 2023 17:29:15 +0100 Subject: [PATCH] feat: enable source maps in production builds --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 50efd1ce..8704cdb8 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -20,6 +20,7 @@ export default defineConfig({ build: { // we rely on the serial api, so just chrome is fine target: ["chrome114", "safari16"], + sourcemap: true, rollupOptions: { external: isTauri ? [/virtual:pwa.*/] : [], },