build: enable source maps for improved debugging (#3596)

Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
This commit is contained in:
KJ7LNW 2025-05-14 10:46:53 -07:00 committed by GitHub
parent cbd77275a1
commit afc82b851d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 4 additions and 0 deletions

View file

@ -59,6 +59,7 @@
"remove-markdown": "^0.6.0",
"shell-quote": "^1.8.2",
"shiki": "^3.2.1",
"source-map": "^0.7.4",
"styled-components": "^6.1.13",
"tailwind-merge": "^2.6.0",
"tailwindcss": "^4.0.0",

View file

@ -10,6 +10,8 @@
"forceConsistentCasingInFileNames": true,
"noFallthroughCasesInSwitch": true,
"module": "esnext",
"sourceMap": true,
"inlineSources": false,
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,

View file

@ -58,6 +58,7 @@ export default defineConfig({
build: {
outDir: "build",
reportCompressedSize: false,
sourcemap: true,
rollupOptions: {
output: {
entryFileNames: `assets/[name].js`,