👷 make vscode external in binary build

This commit is contained in:
Nate Sesti 2024-04-10 14:37:53 -07:00
parent 27a9aa89e3
commit 0f7aed6f48

View file

@ -90,7 +90,7 @@ const targetToLanceDb = {
entryPoints: ["src/index.ts"],
bundle: true,
outfile: esbuildOutputFile,
external: ["esbuild", ...DYNAMIC_IMPORTS, "./xhr-sync-worker.js"],
external: ["esbuild", ...DYNAMIC_IMPORTS, "./xhr-sync-worker.js", "vscode"],
format: "cjs",
platform: "node",
sourcemap: true,