Describe the solution you'd like:
When installing @rspack/binding in stackblitz, auto-substitute it with its wasm equivalent @rspack/binding-wasm32-wasi, like:
Additional context:
rspack is a fast Rust-based web bundler that seamlessly replace webpack with compatible API. The WASM version allows users to create rspack projects online with the webcontainer or stackblitz, which can be also used for bug reproduction. In the future, we will provide a pure browser version.
I've created a demo in stackblitz: https://stackblitz.com/~/github.com/CPunisher/rspack-starter-stackblitz. Currently npm and pnpm should specify cpu=wasm32 when setting up the project.