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]: moduleFederation.options makes script src relative #1546

Closed
Dirard opened this issue Feb 9, 2024 · 0 comments
Closed

[Bug]: moduleFederation.options makes script src relative #1546

Dirard opened this issue Feb 9, 2024 · 0 comments
Labels
🐞 bug Something isn't working

Comments

@Dirard
Copy link

Dirard commented Feb 9, 2024

Version

System:
    OS: Windows 11 10.0.22621
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700
    Memory: 41.64 GB / 63.77 GB
  Browsers:
    Edge: Chromium (121.0.2277.106)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    @rsbuild/core: ^0.4.1 => 0.4.1
    @rsbuild/plugin-react: ^0.4.1 => 0.4.1

Details

moduleFederation.options enabled:
image
image

moduleFederation.options disabled:
image
image

Reproduce link

using ur repository

Reproduce Steps

  1. download example: https://github.com/web-infra-dev/rsbuild/tree/main/examples/module-federation
  2. npm i
  3. npm run dev (host and remote)
@Dirard Dirard added the 🐞 bug Something isn't working label Feb 9, 2024
@Dirard Dirard closed this as completed Feb 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant