pub fn transform_wasm_glue_inline(raw_js: &str, wasm_file: &str) -> StringExpand description
Strips ES module export statements from wasm-bindgen’s generated glue script and rewrites the .wasm URL to ./pkg/<wasm_file>.
§Arguments
&str- Rawwasm-bindgenweb-target JS glue contents.&str- Exact<name>_bg.wasmfilename.
§Returns
String- Clean inline ES module script ready to embed inside<script type="module">.