mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
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:
parent
7cd14f97c9
commit
0dc89c0a79
5 changed files with 11 additions and 41 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue