Skip to content

Commit c66089f

Browse files
committed
Use linked instead of external, works better with debuggers
1 parent 6fe8e7a commit c66089f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/scripts/build.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function build() {
4343
target: 'node',
4444
format: 'esm',
4545
minify: false,
46-
sourcemap: 'external',
46+
sourcemap: 'linked',
4747
external,
4848
naming: '[dir]/index.mjs',
4949
loader: {
@@ -58,7 +58,7 @@ async function build() {
5858
target: 'node',
5959
format: 'cjs',
6060
minify: false,
61-
sourcemap: 'external',
61+
sourcemap: 'linked',
6262
external,
6363
naming: '[dir]/index.cjs',
6464
define: {

0 commit comments

Comments
 (0)