I am trying to develop microfrontends in NextJs 10 project as described by https://gist.github.com/jherr/dd10bc34448590a2661a0c6acbcc7e8a/revisions. But when I try to run it, both in my project and in the one with the example https://github.com/jherr/wp5-nextjs-10.git I get the following error: Error: Module Federation only works with Webpack 5
Error: Module Federation only works with Webpack 5
I am using Windows 10 and my Node version is v14.12.0
How can I fix this?