Skip to content

Releases: angular-architects/module-federation-plugin

12.5.0

08 Sep 16:06
Compare
Choose a tag to compare

Nx Support

ng add now uses Nx builders for Nx workspaces. To detect if an Nx workspace is used, the schematics basically look out for an nx.json. You can also control this behavior by hand using the --nx-builders switch now supported by ng add (e. g. --nx-builders false).

Testing

The ng add schematic is not changing the test config in your angular.json anymore to prevent issues with eager bundles and webpack module federation.

Consequences:

  • Remotes: No issue
  • Hosts: Should be tested with E2E tests

Share Helper

27 Jun 22:06
Compare
Choose a tag to compare

Shared Libs and Dynamic MF

21 Nov 20:29
Compare
Choose a tag to compare
  • Support for sharing libs of a monorepo
  • Support for dynamic Module Federation
  • Updated docs and tutorial showcasing the above-mentioned new features
  • Generating smarter webpack configuration
    • Proposes all other projects as remotes in comments. Just keep the lines you need.
    • Moves main.ts to bootstrap.ts and creates a new main.ts dynamically importing bootstrap.ts

Angular CLI 11

14 Nov 19:48
Compare
Choose a tag to compare
  • Tested with Angular 11 and Angular CLI 11 (final)
  • Generating better webpack.config.js
    • Skipping unneeded parts
    • Defining shared Angular libs as singletons