Expand description
This crate provides functions to call from build and post-build scripts as part of
wasm32-unknown-unknown builds that rely on crates using the embed_js crate to write inline
javascript.
See the embed_js repository for examples of how to use these crates together.
Structs§
- Post
Process Data - Generated from
postprocess_crate.
Functions§
- postprocess_
crate - Call this once after a wasm-unknown-unknown build has completed (i.e. from a post-build script) in order to generate the javascript imports that should accompany the wasm binary.
- preprocess_
crate - Call this once from a build script for a crate that uses
embed_jsdirectly.