Open parichit13 opened 1 year ago
I have the exact same problem and I didn't find anything that resolves this problem here
rm -rf yarn.lock
yarn
拷贝到其他目录,重新使用yarn@1.x.x版本安装使用
@parichit13 @ViniciusUrias Could you pull the latest changes, reinstall dependencies, and try again? I updated the Repack version used in all of the examples and the issue should be fixed by now.
Environment
Description
Unable to build module-federation example for production.
I have been able to run the module-federation example on dev but I have been trying to change the implementation to an actual production level code. So I started to build production bundles for each of the modules.
I have been able to produce release bundles for host and app2 MFs using the following command:
STANDALONE=1 webpack -c webpack.config.mjs --env platform=ios --env mode=production
But when trying to run the same command on app1 and module1 MFs, I am getting the following error:
Reproducible Demo
Output