Skip to main content

bundle_module

Function bundle_module 

Source
pub fn bundle_module(entry_path: &Path) -> Result<String>
Expand description

Bundle a module and all its local imports into a single file with proper scoping Each module is wrapped in an IIFE that only exposes its exports