aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-10-03 13:31:19 -0700
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-10-03 23:16:55 -0700
commitdf9461ecc58e2882afa34cdf59d9887d9242b5f9 (patch)
tree5ea04af1a4a445a6a7195111a52ebdacd2a7354f /src
parent98e9e9b11289f766e45dc0eadcaf4b21115ff190 (diff)
downloadbun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.tar.gz
bun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.tar.zst
bun-df9461ecc58e2882afa34cdf59d9887d9242b5f9.zip
Update tsconfigs
Diffstat (limited to 'src')
-rw-r--r--src/js/builtins/tsconfig.json4
-rw-r--r--src/node-fallbacks/tsconfig.json4
2 files changed, 6 insertions, 2 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
}
}