summaryrefslogtreecommitdiff
path: root/cli/tsc.rs
diff options
context:
space:
mode:
authorValentin Anger <syrupthinker@gryphno.de>2020-09-11 22:40:48 +0200
committerGitHub <noreply@github.com>2020-09-11 22:40:48 +0200
commite3319f34a6ece36eab3138eae83c8d0e18fcc07c (patch)
treec194f400d91d11b9a29416e1697d00d8cf2e3628 /cli/tsc.rs
parenta3282aa9ed749f2e80618c6e2f25047d9a2bb2d8 (diff)
feat(unstable): Support data: urls (#5157)
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 d78485fd3..6b238ea36 100644
--- a/cli/tsc.rs
+++ b/cli/tsc.rs
@@ -679,6 +679,7 @@ impl TsCompiler {
self.file_fetcher.clone(),
global_state.maybe_import_map.clone(),
permissions.clone(),
+ global_state.flags.unstable,
false,
true,
);
@@ -1157,6 +1158,7 @@ async fn create_runtime_module_graph(
global_state.file_fetcher.clone(),
None,
permissions,
+ global_state.flags.unstable,
false,
false,
);
@@ -1676,6 +1678,7 @@ mod tests {
file_fetcher.clone(),
None,
Permissions::allow_all(),
+ mock_state.flags.unstable,
false,
false,
);
@@ -1752,6 +1755,7 @@ mod tests {
file_fetcher.clone(),
None,
Permissions::allow_all(),
+ mock_state.flags.unstable,
false,
false,
);