Tools - Do you know the best Build Tool?

Last updated by TiagoAraujo over 5 years ago.See history

Building, bundling and compiling Angular applications can get complicated. You need great build tools.

gulp
Figure: Bad Example - Gulp requires hundreds of lines of config to build and bundle Angular applications

webpack
Figure: Good Example - Webpack is an open-source JavaScript module bundler that can be used to build your application (and lots more as well). Teams with advanced build requirements use Webpack. The downside of Webpack is that it requires a large investment in learning Webpack - if it isn't required, the Angular CLI is a better choice

cli
Figure: Good Example - Use the Angular CLI on all new projects that don't require custom Webpack builds. The Angular CLI generates components, routes, services, and pipes, follows best practices as well as building applications for production. The Angular CLI build includes best practices including Tree Shaking and Ahead of Time (AoT) compilation out of the box! The Angular CLI uses Webpack under the covers

We open source. Powered by GitHub