pub fn patch_wasm_host_glue(raw_no_modules_js: &str) -> (String, String)Expand description
Patches wasm-bindgen --target no-modules JS glue with TextDecoder/TextEncoder and vendor WASM polyfills.
§Arguments
&str- Raweuv_example.jstext emitted bywasm-bindgen --target no-modules.
§Returns
(String, String)- Pair of(cjs_glue, esm_glue)strings ready for MiniApp, QuickApp, and Wearable hosts.