diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2020-10-23 11:38:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-23 12:38:35 +0200 |
commit | a3024a6dc5c27317049a39ad8cb3e54368429dbf (patch) | |
tree | 118d2c24912410eaf6a712e0e786b0f9bd634333 /cli/module_graph2.rs | |
parent | f56c7868ab3f862fc66c8605ed34c315040cb3a2 (diff) |
BREAKING(cli/tsc): Enable isolatedModules by default (#8050)
Diffstat (limited to 'cli/module_graph2.rs')
-rw-r--r-- | cli/module_graph2.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/module_graph2.rs b/cli/module_graph2.rs index 678fe8da5..4895cc53a 100644 --- a/cli/module_graph2.rs +++ b/cli/module_graph2.rs @@ -698,9 +698,6 @@ impl Graph2 { options: CheckOptions, ) -> Result<(Stats, Diagnostics, Option<IgnoredCompilerOptions>), AnyError> { - // TODO(@kitsonk) set to `true` in followup PR - let unstable = options.lib == TypeLib::UnstableDenoWindow - || options.lib == TypeLib::UnstableDenoWorker; let mut config = TsConfig::new(json!({ "allowJs": true, // TODO(@kitsonk) is this really needed? @@ -708,7 +705,7 @@ impl Graph2 { // Enabled by default to align to transpile/swc defaults "experimentalDecorators": true, "incremental": true, - "isolatedModules": unstable, + "isolatedModules": true, "lib": options.lib, "module": "esnext", "strict": true, |