feat(plugin-wasm): add async-wasm support
Summary
Async wasm support has been added, along with partial support for loading wasm using "fetch".
However, sync WebAssembly support has not yet been added.
The wasm-parser crate is used to parse WebAssembly ast, and the currently supported webpack-related tests have been successfully ported.
- close: #2158
Related issue (if exists)
Types of changes
- [ ] Docs change / Dependency upgrade
- [ ] Bug fix
- [x] New feature / Improvement
- [ ] Refactoring
- [ ] Breaking change
Checklist
- [ ] I have added changeset via
pnpm run changeset. - [x] I have added tests to cover my changes.
🦋 Changeset detected
Latest commit: 1c6896d86e6db345f4efe3c71b90fe9a09e5e191
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 16 packages
| Name | Type |
|---|---|
| @rspack/binding | Patch |
| @rspack/core | Patch |
| @rspack/cli | Patch |
| @rspack/postcss-loader | Patch |
| @rspack/dev-middleware | Patch |
| @rspack/dev-server | Patch |
| @rspack/plugin-html | Patch |
| benchmarkcase-rspack-react-refresh | Patch |
| @rspack/dev-client | Patch |
| @rspack/plugin-minify | Patch |
| @rspack/plugin-node-polyfill | Patch |
| @rspack/binding-darwin-arm64 | Patch |
| @rspack/binding-darwin-x64 | Patch |
| @rspack/binding-linux-x64-gnu | Patch |
| @rspack/binding-win32-x64-msvc | Patch |
| @rspack/fs | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
I'm shocked!
You rock!
Feel free to ping me once this is ready to review @tuchg
@ahabhgk hi, it's done.