rspack icon indicating copy to clipboard operation
rspack copied to clipboard

feat(plugin-wasm): add async-wasm support

Open tuchg opened this issue 2 years ago • 5 comments

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.

tuchg avatar Mar 13 '23 15:03 tuchg

🦋 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

changeset-bot[bot] avatar Mar 13 '23 15:03 changeset-bot[bot]

I'm shocked!

hardfist avatar Mar 13 '23 16:03 hardfist

You rock!

zoolsher avatar Mar 13 '23 16:03 zoolsher

Feel free to ping me once this is ready to review @tuchg

ahabhgk avatar Mar 14 '23 03:03 ahabhgk

@ahabhgk hi, it's done.

tuchg avatar Mar 18 '23 11:03 tuchg