Tools - Do you know the best Build Tool?
  v6.0 Posted at 27/10/2018 8:13 AM by Tiago Araujo
​Building, bundling and compiling Angular applications can get complicated. You need great build tools.
Figure: Bad Example - Gulp requires hundreds of lines of config to build and bundle Angular applications
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
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​ 

Related rules

    Do you feel this rule needs an update?

    If you want to be notified when this rule is updated, please enter your email address: