craco-module-federation icon indicating copy to clipboard operation
craco-module-federation copied to clipboard

Update to support latest craco alpha

Open tomap opened this issue 2 years ago • 1 comments

(webpack 5 & react-scripts 5 compatible)

You might not want to use my package-lock.json but releasing an alpha version matching the craco alpha version would be great :)

(I'm not 100% sure that adding webpack 5 as a dependency is necessary)

tomap avatar Apr 11 '22 16:04 tomap

@hasanayan - The version of craco you have listed in this plugin has webpack 4 as a dependency. Therefore container is undefined on webpack and it crashes when trying to build.

@tomap's changes solve these issues by both upgrading the craco dependency and including webpack 5 as a bundled dependency. Please merge this 🙏

dbgordon09 avatar Jul 11 '22 11:07 dbgordon09