Skip to main content

node_wasm_shim

Function node_wasm_shim 

Source
pub fn node_wasm_shim(bytes: &[u8]) -> String
Expand description

The Node form of the loader (#2321, decision B): the module’s bytes inlined and compiled at load, so it needs no file beside the compiled output (tsc copies only TypeScript and JSON) and no Node typings. bynk test writes this over the Workers form at wasm_shim_path.