module-federation / core

Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications
https://module-federation.io/
MIT License
1.27k stars 182 forks source link

web worker error in host #2675

Open mrcwl opened 6 days ago

mrcwl commented 6 days ago

Describe the bug

image

i get some error when i use web worker in host

Reproduction

https://github.com/mrcwl/mf-error-test

Used Package Manager

pnpm

System Info

System:
    OS: macOS 14.5
    CPU: (10) arm64 Apple M1 Max
    Memory: 18.91 GB / 64.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.20.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.19.4 - /usr/local/bin/npm
    pnpm: 8.15.4 - /usr/local/bin/pnpm
  Browsers:
    Chrome: 126.0.6478.126
    Safari: 17.5

Validations

ScriptedAlchemy commented 6 days ago

Reported to rspack team

ScriptedAlchemy commented 5 days ago

Working to ensure federation is not injected into AsyncEntrypoint