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:
@@ -2,3 +2,6 @@
|
||||
.vscode/**
|
||||
.vscode-test/**
|
||||
scripts/**
|
||||
src/**
|
||||
tsconfig.json
|
||||
tsup.config.ts
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user