diff options
Diffstat (limited to 'ext/node/lib.rs')
-rw-r--r-- | ext/node/lib.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/node/lib.rs b/ext/node/lib.rs index 6f3173470..99df93be5 100644 --- a/ext/node/lib.rs +++ b/ext/node/lib.rs @@ -11,6 +11,10 @@ use std::path::Path; use std::path::PathBuf; use std::rc::Rc; +pub mod errors; +mod package_json; +mod resolution; + pub use package_json::PackageJson; pub use resolution::get_closest_package_json; pub use resolution::get_package_scope_config; @@ -42,10 +46,6 @@ pub trait DenoDirNpmResolver { fn ensure_read_permission(&self, path: &Path) -> Result<(), AnyError>; } -mod errors; -mod package_json; -mod resolution; - pub const MODULE_ES_SHIM: &str = include_str!("./module_es_shim.js"); struct Unstable(pub bool); |