Skip to content

[Bug]: ModuleFederationPlugin remote not support IE11 #6556

@wzc321

Description

@wzc321

System Info

System:
OS: Windows 11 10.0.22000
CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H
Memory: 2.84 GB / 15.73 GB
Binaries:
Node: 18.19.1 - C:\Program Files\nodejs\node.EXE
npm: 10.2.4 - C:\Program Files\nodejs\npm.CMD
pnpm: 8.15.5 - C:\Program Files\nodejs\pnpm.CMD
bun: 1.1.3 - ~.bun\bin\bun.EXE
Browsers:
Edge: Spartan (44.22000.120.0), Chromium (123.0.2420.97)
Internet Explorer: 11.0.22000.120

Details

set browserslist:
"browserslist": [
"> 0.5%",
"not dead",
"IE 11"
]

and run npm run build the remoteEntry.js are many let and => but IE 11 not support

1715779847671

Reproduce link

https://github.com/rspack-contrib/rspack-examples/tree/main/rsbuild/module-federation

Reproduce Steps

  1. Run npm install
  2. Set package.json "browserslist": [ "> 0.5%", "not dead", "IE 11" ]
  3. Run npm run build

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions