You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that, if you have "inlineSourceMap": true in your tsconfig, this means that your source maps are embedded directly within the generated JavaScript files as a data URI rather than being written out as separate .map files. This can be helpful in some cases, but it might cause issues if you're also using external source maps (sourcemap: true in tsup), leading to confusion in your debugger.
Copy file name to clipboardexpand all lines: src/tsconfig.shared.json
+2-2
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,8 @@
62
62
/* Source Map Options */
63
63
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
64
64
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
65
-
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
66
-
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
65
+
"inlineSourceMap": false/* Emit a single file with source maps instead of having a separate file. */,
66
+
"inlineSources": true/* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */,
67
67
68
68
/* Experimental Options */
69
69
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
0 commit comments