diff options
author | 2023-10-03 13:31:19 -0700 | |
---|---|---|
committer | 2023-10-03 23:16:55 -0700 | |
commit | df9461ecc58e2882afa34cdf59d9887d9242b5f9 (patch) | |
tree | 5ea04af1a4a445a6a7195111a52ebdacd2a7354f | |
parent | 98e9e9b11289f766e45dc0eadcaf4b21115ff190 (diff) | |
download | bun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.tar.gz bun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.tar.zst bun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.zip |
Update tsconfigs
Diffstat (limited to '')
-rw-r--r-- | src/js/builtins/tsconfig.json | 4 | ||||
-rw-r--r-- | src/node-fallbacks/tsconfig.json | 4 | ||||
-rw-r--r-- | 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 edaedd2a9..71940a981 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 1228b6423..7f8fcc61b 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 38798ab89..6f13ea445 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, |