wasm-pack icon indicating copy to clipboard operation
wasm-pack copied to clipboard

πŸ“¦βœ¨ your favorite rust -> wasm workflow tool!

Results 343 wasm-pack issues
Sort by recently updated
recently updated
newest added

## πŸ› Bug description When specifying a profile e.g. `wasm-pack build --profile wasm-release a_crate`, it will fail if the crate is part of a workspace and the workspace is not...

Some of our dependencies are now using Rust edition 2024, and thus we had to bump the Rust toolchain in our workspace too. However, it’s now impossible to use `wasm-pack`...

## πŸ› Bug description Describe your issue in detail. ``` error: the argument '--release' cannot be used with '--profile ' ``` #### πŸ€” Expected Behavior What should have happened? ```sh...

When running `wasm-pack` with a custom profile (`wasm-pack build . --profile custom_profile_name`), the Cargo profile with name `custom_profile_name` will be used, but `wasm-pack` will use a profile called `custom`. More...

## πŸ› Bug description When running `wasm-pack` with a custom profile (`wasm-pack build . --profile custom_profile_name`), the cargo profile with name `custom_profile_name` will be used, but `wasm-pack` will use a...

Resolves https://github.com/rustwasm/wasm-pack/issues/1485. This commit adds optional `package-name` parameter, which defaults to Rust crate name. TODO: - [ ] Check how this change interacts with `out-name`, which defaults to package name....

## πŸ’‘ Feature description Add a parameter to override create JS package name, which defaults to Rust crate name. #### πŸ’» Basic example ```bash >> wasm-pack build examples/js-hello-world --package-name hello-world...

I don't really like that `wasm-pack` downloads binaries such as `wasm-opt` and `wasm-bindgen`, and would like an easy way to tell it to use the things I have installed in...

Make sure these boxes are checked! πŸ“¦βœ… - [ x ] You have the latest version of `rustfmt` installed ```bash $ rustup component add rustfmt ``` - [ x ]...