Switch most remaining extensions to use esbuild

Just 3 left:

- git and github. These are doing weird stuff with d.ts imports and const enums

- github-authentication  which has some tricky path mapping stuff
This commit is contained in:
Matt Bierner
2026-02-19 11:12:46 -08:00
parent e80ddbf450
commit 2d9e484c8e
24 changed files with 234 additions and 193 deletions

View File

@@ -118,8 +118,12 @@
"vscode:prepublish": "npm run build-ext && npm run build-chat-webview",
"build-ext": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.mjs compile-extension:mermaid-chat-features",
"build-chat-webview": "node ./esbuild.webview.mts",
"compile-web": "npx webpack-cli --config extension-browser.webpack.config --mode none",
"watch-web": "npx webpack-cli --config extension-browser.webpack.config --mode none --watch --info-verbosity verbose"
"compile-web": "npm-run-all2 -lp bundle-web typecheck-web",
"bundle-web": "node ./esbuild.browser.mts",
"typecheck-web": "tsgo --project ./tsconfig.browser.json --noEmit",
"watch-web": "npm-run-all2 -lp watch-bundle-web watch-typecheck-web",
"watch-bundle-web": "node ./esbuild.browser.mts --watch",
"watch-typecheck-web": "tsgo --project ./tsconfig.browser.json --noEmit --watch"
},
"devDependencies": {
"@types/node": "^22.18.10",