DEV Community

Discussion on: Build Angular Like An Architect (Part 1)

Collapse
 
stevium profile image
MiloÅ¡ Stevanović • Edited

Is it still possible to build angular with closure, or this is no longer valid since they decommissioned advanced optimization support in version 10: github.com/angular/angular/issues/... ? Are you still using closure, or some other custom builder or you are just relying only on default angular ivy build optimizer and no need for additional tree shaking and minification? Sorry if I'm missing something, but I didn't see a followup anywhere on this topic since angular 10 release, neither on dev.to or in your ngr github project.

Collapse
 
steveblue profile image
Stephen Belovarich

I haven’t tested closure with later versions of Angular since this post. tsickle was the tool that enabled TypeScript to emit what was necessary for closure compiler to receive the annotations it needed for ADVANCED. Since this post was written the Angular team has lost and gained members, reprioritized certain initiatives. AFAIK closure compiler is still used at Google so there has to be some level of support for it internally, but I haven’t kept up with what changes are needed to the configuration of a project, if any. Sorry I can’t be if more help. The methods in this tutorial should overlap with getting other build tools to work.