summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tsc.rs')
-rw-r--r--cli/tsc.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tsc.rs b/cli/tsc.rs
index 0e2e19a9c..ae2db6978 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -621,6 +621,8 @@ impl TsCompiler {
"esModuleInterop": true,
"incremental": true,
"inlineSourceMap": true,
+ // TODO(lucacasonato): enable this by default in 1.5.0
+ "isolatedModules": unstable,
"jsx": "react",
"lib": lib,
"module": "esnext",
@@ -1252,6 +1254,8 @@ pub async fn runtime_compile(
"allowNonTsExtensions": true,
"checkJs": false,
"esModuleInterop": true,
+ // TODO(lucacasonato): enable this by default in 1.5.0
+ "isolatedModules": unstable,
"jsx": "react",
"module": "esnext",
"sourceMap": true,