-
-
Notifications
You must be signed in to change notification settings - Fork 781
Description
System Info
System:
OS: macOS 15.3.2
CPU: (10) arm64 Apple M1 Max
Memory: 6.14 GB / 64.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 22.14.0 - ~/.nvm/versions/node/v22.14.0/bin/node
Yarn: 1.22.22 - ~/Projects/apra-amcos-portals-frontend/node_modules/.bin/yarn
npm: 11.2.0 - ~/.nvm/versions/node/v22.14.0/bin/npm
Browsers:
Chrome: 134.0.6998.166
Safari: 18.3.1
Details
After upgraded to v1.3.0, the build error happened:
Panic occurred at runtime. Please file an issue on GitHub with the backtrace below: https://github.com/web-infra-dev/rspack/issues
Message: RuntimeIdRuntimeModule must be in a single runtime
Location: crates/rspack_plugin_runtime/src/runtime_module/runtime_id.rs:39
Backtrace omitted.
Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.
Reproduce link
No response
Reproduce Steps
Got error with the ModuleFederationPlugin:
new rspack.container.ModuleFederationPlugin({
name: "aaa",
filename: "remoteEntry.mjs",
exposes: {
"./aaa": "./src/client/bootstrap"
},
library: {
type: "window",
name: "aaa"
}
}),
})