Commit 833a65b
Eric Wheeler
feat: enable source maps for improved debugging
Enable source maps in the webview UI to help with debugging by:
- Adding sourceMap: true to tsconfig.json
- Setting inlineSources: false in tsconfig.json
- Enabling sourcemap: true in vite.config.ts
- Adding source-map package as a dependency
This allows stack traces to be mapped back to original source files,
making it easier to debug issues in the bundled code.
Signed-off-by: Eric Wheeler <[email protected]>1 parent 6db30af commit 833a65b
3 files changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
62 | 63 | | |
63 | 64 | | |
64 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
0 commit comments