Juri Strumpflohner

RSS

Speed up your Angular serve and build times with Module Federation and Nx

Author profile pic
Juri Strumpflohner
Published

Learn how to speed up your Angular serve times in development (but build times in CI) by leveraging Webpack Module Federation. @juristr walks you through adding MF capabilities to an existing Angular application and shows how to create separate MF remote apps and how to refactor the existing Angular routes into those apps. Finally, you’re also going to see how to set up a local deployment script.

▬▬▬▬▬▬ 🔗 Links ▬▬▬▬▬▬ Blog article on Angular and Module federation: https://blog.nrwl.io/setup-module-federation-in-angular-with-nx-2f3c5c074d5f Buildable libraries: https://nx.dev/structure/buildable-and-publishable-libraries Webpack Module Federation: https://webpack.js.org/concepts/module-federation/

Docs: https://nx.dev GitHub: https://github.com/nrwl/nx Slack Community: https://bit.ly/nx-slack Consulting: https://nrwl.io