Crate wasmbind_js_file_macro

Source

Attribute Macrosยง

wasmbind_dump_js_file_as_inline
Procedural macro for generating the #[wasm_bindgen] attribute with parameter inline_js. The parameter inline_js will be filled by this macro with the content of the file that the path is passed as the argument path of this macro. The path can contain $out_dir placeholders which is the value of the OUT_DIR environment variable.