diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-09-11 03:38:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-11 03:38:24 +0200 |
commit | d236f432b86de55c6006778b0c68fe60b6419069 (patch) | |
tree | 54edc32eef542f6fdd37d11100ae30982d6068b8 /cli/module_loader.rs | |
parent | ba8bbe6f1c11d4cf19ad0b916ba41cd919dbb042 (diff) |
refactor: use import_map crate (#11974)
Removes ImportMap implementation from "cli/" and instead
uses "import_map" crate
Diffstat (limited to 'cli/module_loader.rs')
-rw-r--r-- | cli/module_loader.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 349e72393..575919495 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -1,6 +1,5 @@ // Copyright 2018-2021 the Deno authors. All rights reserved. MIT license. -use crate::import_map::ImportMap; use crate::module_graph::TypeLib; use crate::program_state::ProgramState; use deno_core::error::AnyError; @@ -11,6 +10,7 @@ use deno_core::ModuleLoader; use deno_core::ModuleSpecifier; use deno_core::OpState; use deno_runtime::permissions::Permissions; +use import_map::ImportMap; use std::cell::RefCell; use std::pin::Pin; use std::rc::Rc; |