summaryrefslogtreecommitdiff
path: root/cli/resolver.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-03-23 09:54:22 -0400
committerGitHub <noreply@github.com>2022-03-23 09:54:22 -0400
commit53dac7451bbdd527aa91e01653b678547624fc39 (patch)
treec43dbc34fd4ada4249064aab2086ab64b276a460 /cli/resolver.rs
parent5edcd9dd355483df6b9a8c34ca94f3f54d672b9e (diff)
chore: remove all `pub(crate)`s from the cli crate (#14083)
Diffstat (limited to 'cli/resolver.rs')
-rw-r--r--cli/resolver.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/resolver.rs b/cli/resolver.rs
index fde13d727..af0cc773c 100644
--- a/cli/resolver.rs
+++ b/cli/resolver.rs
@@ -11,7 +11,7 @@ use std::sync::Arc;
/// This is done to avoid having `import_map` be a direct dependency of
/// `deno_graph`.
#[derive(Debug, Clone)]
-pub(crate) struct ImportMapResolver(Arc<ImportMap>);
+pub struct ImportMapResolver(Arc<ImportMap>);
impl ImportMapResolver {
pub fn new(import_map: Arc<ImportMap>) -> Self {
@@ -37,7 +37,7 @@ impl Resolver for ImportMapResolver {
}
#[derive(Debug, Default, Clone)]
-pub(crate) struct JsxResolver {
+pub struct JsxResolver {
jsx_import_source_module: String,
maybe_import_map_resolver: Option<ImportMapResolver>,
}