Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 【rspack.container.ModuleFederationPlugin】shareScopeMap has undefined version #8960

Open
dxhsmwqcwelllee opened this issue Jan 7, 2025 · 0 comments
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.

Comments

@dxhsmwqcwelllee
Copy link

System Info

System:
OS: macOS 15.1.1
CPU: (10) arm64 Apple M4
Memory: 676.23 MB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.13.0 - ~/.local/state/fnm_multishells/54772_1736238476740/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 8.19.3 - ~/.local/state/fnm_multishells/54772_1736238476740/bin/npm
pnpm: 7.33.6 - ~/.yarn/bin/pnpm
Browsers:
Chrome: 131.0.6778.205
Edge: 131.0.2903.112
Safari: 18.1.1
npmPackages:
@rspack/cli: 1.2.0-alpha.0 => 1.2.0-alpha.0
@rspack/core: 1.2.0-alpha.0 => 1.2.0-alpha.0

Details

  1. If both applications (app1 and app2) are using rspack,it is ok,
  2. If only one application (either app1 or app2) uses rspack, but the other relies on webpack 5, it is wrong,
  3. Is it not possible to use both versions at the same time?

Reproduce link

No response

Reproduce Steps

  1. app1 : use rspack.container.ModuleFederationPlugin
Image
  1. app2: use wepack.container.ModuleFederationPlugin
Image
  1. app1: runtime-plugin.js
Image
  1. run app1, runtime-plugin log
Image
@dxhsmwqcwelllee dxhsmwqcwelllee added bug Something isn't working pending triage The issue/PR is currently untouched. labels Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending triage The issue/PR is currently untouched.
Projects
None yet
Development

No branches or pull requests

1 participant