first commit

This commit is contained in:
2026-08-01 14:00:17 +02:00
commit 130f8b4c1d
60 changed files with 9324 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import * as esbuild from "esbuild";
const watch = process.argv.includes("--watch");
const ctx = await esbuild.context({
entryPoints: ["./src/extension.ts"],
bundle: true,
outfile: "dist/extension.js",
external: ["vscode"],
format: "cjs",
platform: "node",
target: "es2022",
sourcemap: true,
logLevel: "info",
});
if (watch) {
await ctx.watch();
console.log("Watching for changes...");
} else {
await ctx.rebuild();
await ctx.dispose();
}