Skip to content

Child getting loaded as empty module in browser when made react as external module in child MFE #58

@ppiyush13

Description

@ppiyush13

Hi Zack,
Thank you very much for creating such awesome plugin to solve one of the common issue with MFE. I was evaluating this plugin and encountered this issue.
I registered react, react-dom and styled-components as external library in MFE webpack configs. While doing so, MFE gets loaded as empty module in parent application at runtime. If I remove external option, it is working as expected. MFE is getting loaded in parent.

Am I doing something incorrect. Is external options yet not supported ?

Metadata

Metadata

Labels

bugSomething isn't workinghigh priorityMission critical bugreleasedwebpackWorth within the webpack eco system is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions