Skip to main content

get_browser_runtime_code

Function get_browser_runtime_code 

Source
pub fn get_browser_runtime_code(
    asset_context: Vc<Box<dyn AssetContext>>,
    chunk_base_path: Vc<Option<RcStr>>,
    worker_asset_prefix: Vc<Option<RcStr>>,
    asset_suffix: Vc<AssetSuffix>,
    worker_forwarded_globals: Vc<Vec<RcStr>>,
    runtime_type: RuntimeType,
    output_root_to_root_path: RcStr,
    generate_source_map: bool,
    chunk_loading_global: Vc<RcStr>,
    cross_origin: Vc<CrossOrigin>,
) -> Vc<Code>
Expand description

Returns the code for the ECMAScript runtime.