@VaseemMalik AFAIK, AOT is not an alternative to Webpack at all. It's the difference between Angular AOT template compilation instead of Angular JIT template compilation. When templates are compiled AOT / compile time that enables far more strict / precise code error/warning analysis, pre-compiled (== faster loading) templates, and smaller downloaded package due to absence of Angular compiler and three shaking. Unfortunately for us, we could not turn AOT compiling currently on on a rather large project. Reason being dozens of AOT compilation errors with quite confusing error messages I couldn't sort out. AOT compiler found also a lot of those errors I was able to fix, but had not enough time to fix those mystical ones.