pub fn write_modules_for_node(
modules: &BTreeMap<PathBuf, Vec<u8>>,
dir: &Path,
) -> Result<()>Expand description
#2321: for a run on Node (bynk test), write the modules and overwrite each
one’s Workers loader shim with the Node form
(bynk_emit::project::node_wasm_shim), which inlines the module. Call it
after every document write, since a later write of docs restores the
Workers form.