feat: stabilise import maps (#9526)

This commit stabilises import maps by removing requirement
on "--unstable" flag when "--import-map" flag is used.
This commit is contained in:
Bartek Iwańczuk 2021-03-01 12:41:22 +01:00 committed by GitHub
parent 7cd14f97c9
commit 0dc89c0a79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 11 additions and 41 deletions

View file

@ -96,9 +96,6 @@ impl ProgramState {
match flags.import_map_path.as_ref() {
None => None,
Some(import_map_url) => {
if !flags.unstable {
exit_unstable("--import-map")
}
let import_map_specifier =
deno_core::resolve_url_or_path(&import_map_url).context(
format!("Bad URL (\"{}\") for import map.", import_map_url),