Fix compile script for local dev and enable sourcemaps in esbuild

Agent-Logs-Url: https://github.com/evdboom/Bindery/sessions/695072d3-7084-4dbb-9aa2-80407f095de4

Co-authored-by: evdboom <18037882+evdboom@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-04-08 22:04:35 +00:00 committed by GitHub
parent 63b71ac293
commit afa4ca64fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -16,6 +16,6 @@ await build({
format: 'cjs',
target: 'node18',
external: ['vscode'],
sourcemap: false,
sourcemap: true,
logLevel: 'info',
});

View file

@ -980,8 +980,8 @@
]
},
"scripts": {
"vscode:prepublish": "npm run build:mcp && npm run compile",
"compile": "npm run typecheck && npm run bundle",
"vscode:prepublish": "npm run build:mcp && npm run typecheck && npm run bundle",
"compile": "tsc -p ./",
"typecheck": "tsc --noEmit -p ./",
"bundle": "node ./esbuild.mjs",
"watch": "tsc -watch -p ./",