dbc editor vscode extentsion

This commit is contained in:
2026-08-23 00:35:32 +04:00
parent 8b13588294
commit 8340b2c84f
23 changed files with 6735 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import * as esbuild from "esbuild";
const watch = process.argv.includes("--watch");
const options = {
entryPoints: ["src/extension.ts"],
bundle: true,
outfile: "dist/extension.js",
external: ["vscode"],
format: "cjs",
platform: "node",
target: "node20",
sourcemap: true,
logLevel: "info"
};
if (watch) {
const context = await esbuild.context(options);
await context.watch();
} else {
await esbuild.build(options);
}