What is the future of Angular 8+? Is it bazel?

22 views
Skip to first unread message

Igneous01

unread,
Jul 21, 2019, 12:03:45 AM7/21/19
to Angular and AngularJS discussion
This is just a general question, but with the recent support of Bazel in Angular 8 (which replaces the CLI) what is the future of the CLI and Webpack? Will these be deprecated at some point in the future? Why switch to using Bazel instead of the CLI/Web Pack?

How does rollup fit into this? I saw this video showing off dynamic imports of bundled angular components using rollup, and I'm confused as to how all of this ties in together.

Sander Elias

unread,
Jul 21, 2019, 12:20:04 AM7/21/19
to Angular and AngularJS discussion
Hi Igneous01,

Bazel support does not replace the CLI. The CLI uses Bazel to deliver better performance in larger projects (for small ones, it's not really helping. Yet!)
Webpack is still used in the Bazel setup.

Experiments are being done to see if Rollup will deliver a better end-product. Again on the inside part of the CLI.

The whole idea about the CLI is that you don't really have to worry about the tooling you need to build Angular apps. What the CLI uses under the hood, is not really a concern. There are NO plans to deprecate the CLI.
What it uses, might change over time, and if it changes it will deliver more speed and/or smaller payloads. Also adding things like better bundling for Angular elements is on the agenda.

Regards
Sander

Reply all
Reply to author
Forward
0 new messages