-
-
Notifications
You must be signed in to change notification settings - Fork 736
Description
System Info
System:
OS: macOS 26.0.1
CPU: (12) arm64 Apple M3 Pro
Memory: 2.82 GB / 36.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.15.0 - ~/.proto/tools/node/20.15.0/bin/node
Yarn: 4.5.0 - ~/.proto/shims/yarn
npm: 10.7.0 - ~/.proto/tools/node/20.15.0/bin/npm
Browsers:
Chrome: 142.0.7444.60
Safari: 26.0.1
npmPackages:
@rspack/cli: 1.6.0-beta.0 => 1.6.0-beta.0
@rspack/core: 1.6.0-beta.0 => 1.6.0-beta.0
@rspack/plugin-react-refresh: ^1.5.2 => 1.5.2
@module-federation/enhanced": "^0.17.1
Details
Trying to upgrade rspack from 1.5.x to 1.6 and seeing the regressions
Uncaught Error: should have __webpack_require__.f.consumes
at __webpack_require__.f.consumes (command-packages_ece-video-decoders_src_wrappedKeyHeaderDecoder_Argon2idWorker_KDFWorker_ts.chunk.js:650:87)
at command-packages_ece-video-decoders_src_wrappedKeyHeaderDecoder_Argon2idWorker_KDFWorker_ts.chunk.js:153:30
at Array.reduce (<anonymous>)
I recall previous fix was related with MF plugin or workers, and assume it's similar since error appears in the chunk around web workers or mf shared runtime related chunks.
Current mf runtime version is "@module-federation/enhanced": "^0.17.1",, but upgrading to the latest shows the same.
Started occurring in 1.6.0-beta.0, 1.5.x works fine.