diff --git a/crates/napi/src/lib.rs b/crates/napi/src/lib.rs index 82ec5609..abe3a012 100644 --- a/crates/napi/src/lib.rs +++ b/crates/napi/src/lib.rs @@ -183,6 +183,8 @@ pub(crate) unsafe fn log_js_value>( ); } +pub use crate::bindgen_runtime::ctor as module_init; + pub mod bindgen_prelude { #[cfg(feature = "compat-mode")] pub use crate::bindgen_runtime::register_module_exports;