Skip to main content

write_module_factories

Function write_module_factories 

Source
pub fn write_module_factories(
    code: &mut CodeBuilder,
    chunk_items: &[CodeModuleIdAndPath],
    mode: StrictFactoryMode,
    supports_arrow_functions: bool,
) -> Result<()>
Expand description

Writes flat factories, with a strict IIFE prepended to the non-strict factories in mixed chunks.