From 31e0af745df556aa9081df6ca824a841f9fd9e2a Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:42:14 -0700 Subject: [PATCH] Fix out-esbuild build --- bin/esbuild.mjs | 8 +++++++- src/browser/tsconfig.json | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bin/esbuild.mjs b/bin/esbuild.mjs index 6d2a4063..331279fa 100644 --- a/bin/esbuild.mjs +++ b/bin/esbuild.mjs @@ -172,7 +172,13 @@ if (config.addon) { }; outConfig = { ...outConfig, - entryPoints: ['src/**/*.ts'], + entryPoints: [ + 'src/browser/*.ts', + 'src/common/*.ts', + 'src/headless/*.ts', + 'src/vs/base/*.ts', + 'src/vs/patches/*.ts' + ], outdir: 'out-esbuild/' }; outTestConfig = { diff --git a/src/browser/tsconfig.json b/src/browser/tsconfig.json index d8f3a189..38854e26 100644 --- a/src/browser/tsconfig.json +++ b/src/browser/tsconfig.json @@ -7,7 +7,8 @@ ], "outDir": "../../out", "types": [ - "../../node_modules/@types/mocha" + "../../node_modules/@types/mocha", + "../vs/typings/thenable.d.ts" ], "baseUrl": "..", "paths": {