Skip to content

Commit e6b580c

Browse files
authored
Enable sourcemaps (#278)
Enables the generation of sourcemap files, which allow debuggers and other tools to display the original TypeScript source code when actually working with the emitted JavaScript files. This should provide better introspection of zarrita code.
1 parent e2531f0 commit e6b580c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/thick-owls-swim.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@zarrita/ndarray": patch
3+
"@zarrita/storage": patch
4+
"zarrita": patch
5+
---
6+
7+
Emit and publish [sourcemap files](http://web.dev/articles/source-maps)

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"verbatimModuleSyntax": true,
1010
"isolatedModules": true,
1111
"declaration": true,
12+
"sourceMap": true,
1213
/* Linting */
1314
"strict": true,
1415
"noUnusedLocals": true,

0 commit comments

Comments
 (0)