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

Exact matching alias does not work as expected in bridge webpack plugin #2677

Closed
5 tasks done
vtv6 opened this issue Jun 27, 2024 · 3 comments
Closed
5 tasks done

Exact matching alias does not work as expected in bridge webpack plugin #2677

vtv6 opened this issue Jun 27, 2024 · 3 comments
Assignees

Comments

@vtv6
Copy link

vtv6 commented Jun 27, 2024

Describe the bug

@module-federation/bridge-react-webpack-plugin doesn't work as expected,
It set alias for both "react-router-dom/" and "react-router-dom"

Reproduction

https://github.com/vtv6/router-remote
yarn start

Used Package Manager

yarn

System Info

System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M2
    Memory: 52.13 MB / 16.00 GB
    Shell: 3.7.0 - /opt/homebrew/bin/fish
  Binaries:
    Node: 18.19.1 - ~/.local/share/nvm/v18.19.1/bin/node
    Yarn: 1.22.21 - /opt/homebrew/bin/yarn
    npm: 10.2.4 - ~/.local/share/nvm/v18.19.1/bin/npm
    pnpm: 8.15.4 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 126.0.6478.127
    Safari: 17.2.1

Validations

@zhoushaw
Copy link
Collaborator

zhoushaw commented Jul 2, 2024

Let me see.

@danpeen
Copy link
Contributor

danpeen commented Jul 15, 2024

I think using the latest version 0.2.6 and do not set the source.alias in rsbuild.config.ts, it will work for you.

Copy link
Contributor

Stale issue message

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants