Search code examples
webpackmodulefederation

Federated Module using Webpack 4.X


Does Webpack 4.X versions provide Module Federation ? if so, is the implementation different from the way we do it on Webpack 5?


Solution

  • Webpack 4 does not currently support module federation.

    In the Micro Frontends Slack group, there is mention that the author of Webpack module federation has discussed back porting it to Webpack 4 but I haven't found any evidence to suggest that or mention progress.

    Update: Here is the Github issue where he mentions backporting it, though he doesn't discuss it after that.