aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
}
}