Last week I was working on an Angular Library, and in all the components we wanted to have encapsulation set to None and changeDetection to OnPush. We also wanted to add all components and directives to exports. Let’s see how we can achieve this without writing any code.

#angular #schematics #javascript #typescript

Overriding Angular Schematics
1.45 GEEK