You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you instead run npm run build-webpack in package a, you will not see an error in console and will see an output of the function.
Also if you run npm run serve which starts devServer, it also works correctly.
The text was updated successfully, but these errors were encountered:
System Info
System:
OS: macOS 14.3
CPU: (8) arm64 Apple M1
Memory: 35.11 MB / 8.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 23.3.0 - ~/.nvm/versions/node/v23.3.0/bin/node
Yarn: 3.3.0 - ~/.nvm/versions/node/v23.3.0/bin/yarn
npm: 10.9.0 - ~/.nvm/versions/node/v23.3.0/bin/npm
pnpm: 7.16.1 - ~/.nvm/versions/node/v23.3.0/bin/pnpm
Browsers:
Chrome: 131.0.6778.109
Safari: 17.3
Details
Hello, I have encountered an error while building a project with Rspack.
I have reduced it down to the following configuration - workspace project that has two packages:
asyncWebAssemly: true
I mage a repo that reproduces this bug.
Reproduce link
https://github.com/sunflowerdeath/rspack-wasm-externals-bug
Reproduce Steps
npm install
cd b && npm run build
cd a && npm run build
If you instead run
npm run build-webpack
in packagea
, you will not see an error in console and will see an output of the function.Also if you run
npm run serve
which starts devServer, it also works correctly.The text was updated successfully, but these errors were encountered: