aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/builtins/tsconfig.json4
-rw-r--r--src/node-fallbacks/tsconfig.json4
-rw-r--r--tsconfig.base.json2
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,