feat(unstable): Support data: urls (#5157)

This commit is contained in:
Valentin Anger 2020-09-11 22:40:48 +02:00 committed by GitHub
parent a3282aa9ed
commit e3319f34a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 170 additions and 10 deletions

View file

@ -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,
);