core
core copied to clipboard
mf-manifest.json support esmodule
Describe the bug
#2934
SyntaxError: Cannot use import statement outside a module
Reproduction
https://github.com/zhangHongEn/mf-esmodule-manifest
Used Package Manager
pnpm
System Info
System:
OS: macOS 14.3.1
CPU: (8) arm64 Apple M2
Memory: 5.73 GB / 24.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.20.2 - ~/.nvm/versions/node/v18.20.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v18.20.2/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v18.20.2/bin/npm
pnpm: 9.6.0 - ~/.nvm/versions/node/v18.20.2/bin/pnpm
Browsers:
Safari: 17.3.1
Validations
- [X] Read the docs.
- [X] Read the common issues list.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Make sure this is a Module federation issue and not a framework-specific issue.
- [X] The provided reproduction is a minimal reproducible example of the bug.