This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
https://wiki.developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_wasm #3256
Labels
Content:JS
This is related to JavaScript content
Request type
Details
In the [wasm-pack: 0.9.1] library, a bug appeared:
This will directly lead to the error
when pkg is used
wasm-pack build --target bundler not including *_bg.js file in package.json · Issue #837 · rustwasm/wasm-pack
At present, the official has fixed this problem,
But no new release package has been released.
Corrected files included in package.json for bundler / no target (#837) by lucashorward · Pull Request #839 · rustwasm/wasm-pack
Solutions
We need to manually add these two file names to the package.json in the [pkg] folder.
The text was updated successfully, but these errors were encountered: