From df9461ecc58e2882afa34cdf59d9887d9242b5f9 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Tue, 3 Oct 2023 13:31:19 -0700 Subject: [PATCH] Update tsconfigs --- src/js/builtins/tsconfig.json | 4 +++- src/node-fallbacks/tsconfig.json | 4 +++- tsconfig.base.json | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/js/builtins/tsconfig.json b/src/js/builtins/tsconfig.json index edaedd2a99..71940a9811 100644 --- a/src/js/builtins/tsconfig.json +++ b/src/js/builtins/tsconfig.json @@ -1,7 +1,9 @@ { "extends": "../../../tsconfig.base.json", "compilerOptions": { - "noEmit": true + "noEmit": true, + "module": "esnext", + "moduleResolution": "bundler" }, "include": [ ".", diff --git a/src/node-fallbacks/tsconfig.json b/src/node-fallbacks/tsconfig.json index 1228b6423a..7f8fcc61b9 100644 --- a/src/node-fallbacks/tsconfig.json +++ b/src/node-fallbacks/tsconfig.json @@ -23,6 +23,8 @@ "url": ["node_modules/url"], "util": ["node_modules/util"], "zlib": ["node_modules/browserify-zlib"] - } + }, + "noEmit": true, + "allowJs": true } } diff --git a/tsconfig.base.json b/tsconfig.base.json index 38798ab89e..6f13ea4450 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -3,7 +3,7 @@ "lib": ["ESNext"], "module": "esnext", "target": "esnext", - "moduleResolution": "nodenext", + "moduleResolution": "Bundler", "allowImportingTsExtensions": true, "noEmit": true, "strict": true,