Skip to content
This repository was archived by the owner on Jul 20, 2025. It is now read-only.

Commit ff12522

Browse files
authored
feat: fix sourcemaps (#126)
1 parent 3e96ae0 commit ff12522

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

.changeset/young-lizards-raise.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@babylonlabs-io/core-ui": patch
3+
---
4+
5+
fix sourcemap

tsconfig.app.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"noUnusedLocals": true,
2727
"noUnusedParameters": true,
2828
"noFallthroughCasesInSwitch": true,
29+
"sourceMap": false,
2930
"paths": {
3031
"@/*": ["*", "./*"]
3132
},

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default defineConfig({
2121
rollupOptions: {
2222
external: ["react", "react-dom", "react/jsx-runtime", "tailwind-merge", "yup"],
2323
output: {
24-
sourcemapExcludeSources: true,
24+
sourcemapExcludeSources: false,
2525
},
2626
},
2727
},

0 commit comments

Comments
 (0)