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.55k stars 243 forks source link

web worker error in host #2675

Open mrcwl opened 5 months ago

mrcwl commented 5 months 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 5 months ago

Reported to rspack team

ScriptedAlchemy commented 5 months ago

Working to ensure federation is not injected into AsyncEntrypoint

github-actions[bot] commented 3 months ago

Stale issue message

dbuzinin commented 2 weeks ago

Bump. I have a similar problem when using @module-federation/enhanced/repack. There is no such problem with the plugin for the first version of module federation