Skip to content

Commit 7c81c4c

Browse files
committed
Enable source maps
1 parent 2f505cb commit 7c81c4c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

site/vite.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ export default defineConfig({
2020
outDir: path.resolve(__dirname, "./out"),
2121
// We need to keep the /bin folder and GITKEEP files
2222
emptyOutDir: false,
23-
sourcemap: process.env.NODE_ENV === "development",
23+
// 'hidden' works like true except that the corresponding sourcemap comments in the bundled files are suppressed
24+
sourcemap: "hidden",
2425
},
2526
define: {
2627
"process.env": {

0 commit comments

Comments
 (0)