feat: Support vscode breakpoint debugging. fix: Fix the problem that the source code is included after the plug-in is installed (#33)

Co-authored-by: ccl <chenglong.chen@transwarp.io>
This commit is contained in:
jacky
2023-09-08 18:05:09 +08:00
committed by GitHub
parent 3acbcce4f2
commit 5a71ab6d49
2 changed files with 4 additions and 1 deletions

View File

@@ -2,3 +2,6 @@
.vscode/**
.vscode-test/**
scripts/**
src/**
tsconfig.json
tsup.config.ts

View File

@@ -30,7 +30,7 @@ async function dev() {
)
}
await execa('tsup', ['--watch', 'src'], { cwd: root, stdio: 'inherit' })
await execa('tsup', ['--watch', 'src', '--sourcemap'], { cwd: root, stdio: 'inherit' })
}
dev()