DEV Community

Discussion on: Angular Revisited: Standalone components and optional NgModules

Collapse
 
layzee profile image
Lars Gyrup Brink Nielsen • Edited

It's currently in the Angular roadmap under the title "Simplified Angular mental model with optional NgModules". It's in the Future section though which means that:

  1. It's not in active development.
  2. It might not ever make it into Angular.

The deps metadata option might not be the exact API we end up with. However, I tried to emulate it using first SCAMs, then component render modules, and finally feature render modules.

Regarding Rollup, Angular CLI has an experimental flag for using Rollup during build: ng build --experimentalRollupPass as of Angular CLI version 9 (still available in version 11).