Releases: angular-architects/module-federation-plugin
Releases · angular-architects/module-federation-plugin
14.1.1
14.1.0
- feat: connectRouter: add query params support #119
- feat: provide DEFAULT_SKIP_LIST constant for shareAll
- fix: also update local tsconfig.app.json if target doesn't fit
- fix: Property 'port' does not match the schema. '3000' should be a 'number #132
- docs: typo in readme and adjust typing of shareAll #117
- security: update node-fetch
Version 14
Updated for Angular CLI 13.1
-
Important: Use CLI 13.1
-
Details for Migration and API changes:
https://github.com/angular-architects/module-federation-plugin/blob/main/migration-guide.md
12.5.0
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
Shared Libs and Dynamic MF
- 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
tobootstrap.ts
and creates a newmain.ts
dynamically importingbootstrap.ts
Angular CLI 11
- Tested with Angular 11 and Angular CLI 11 (final)
- Generating better webpack.config.js
- Skipping unneeded parts
- Defining shared Angular libs as singletons