chore(desktop): disable sourcemap

This commit is contained in:
Adam
2025-12-29 21:13:01 -06:00
parent e9ef72c20f
commit a7beba5aa9
2 changed files with 5 additions and 5 deletions

View File

@@ -10,6 +10,6 @@ export default defineConfig({
},
build: {
target: "esnext",
sourcemap: true,
// sourcemap: true,
},
})

View File

@@ -11,12 +11,12 @@ export default defineConfig({
// 1. prevent Vite from obscuring rust errors
clearScreen: false,
esbuild: {
// Improves production stack traces (less "kQ@..." noise)
// Improves production stack traces
keepNames: true,
},
build: {
sourcemap: true,
},
// build: {
// sourcemap: true,
// },
// 2. tauri expects a fixed port, fail if that port is not available
server: {
port: 1420,