diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-06 17:50:50 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-06 17:50:50 -0400 |
commit | 881718c4c7f58837a8a208930e7d2c69b9433fd7 (patch) | |
tree | 1d86b8cb99f036fd80987e0c3b16fee52f382c02 /extension/esbuild.mjs | |
parent | 5cb69176f731d6e93802e29eb37c5c5d83003be2 (diff) | |
download | sncontinue-881718c4c7f58837a8a208930e7d2c69b9433fd7.tar.gz sncontinue-881718c4c7f58837a8a208930e7d2c69b9433fd7.tar.bz2 sncontinue-881718c4c7f58837a8a208930e7d2c69b9433fd7.zip |
trying to reliably capture terminal output in vsc
Diffstat (limited to 'extension/esbuild.mjs')
-rw-r--r-- | extension/esbuild.mjs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extension/esbuild.mjs b/extension/esbuild.mjs new file mode 100644 index 00000000..bc1b3e5f --- /dev/null +++ b/extension/esbuild.mjs @@ -0,0 +1,14 @@ +import * as esbuild from "esbuild"; +// esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node +await esbuild.build({ + entryPoints: ["src/extension.ts"], + bundle: true, + outfile: "out/extension.js", + external: ["vscode"], + format: "cjs", + platform: "node", + sourcemap: true, + loader: { + ".node": "file", + }, +}); |