[Bug]: Imports failing after upgrading from v1.2.0-beta.0
to v1.2.0
+
#9135
Labels
bug
Something isn't working
v1.2.0-beta.0
to v1.2.0
+
#9135
System Info
System:
OS: macOS 15.1.1
CPU: (12) arm64 Apple M2 Pro
Memory: 342.13 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.13.0 - ~/.proto/shims/node
Yarn: 4.1.1 - ~/.proto/shims/yarn
Browsers:
Chrome: 132.0.6834.111
Edge: 132.0.2957.127
Safari: 18.1.1
Details
After updating to version
1.2.0
, it seems Rspack can not find some packages innode_modules
.I linked a reproduction, and it is a bit janky with the copy of folders, but wanted to reproduce as close as possible to the real prod situation I have.
Reproduce link
https://github.com/PointSingularity/rspack-repro
Reproduce Steps
yarn
yarn build
You should get no errors.
Then update rspack to a newer version:
yarn up @rspack/cli @rspack/core
yarn build
There are errors.
If you use the commented import in packages/app/src/index.js instead of the top one, then it works partially, but it still breaks.
The text was updated successfully, but these errors were encountered: