feat: enable source maps in production builds

This commit is contained in:
2023-12-05 17:29:15 +01:00
parent f7d99d8d7b
commit 58d13a4107

View File

@@ -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.*/] : [],
},