DEV Community

Cover image for Maximizing Your Angular Build Performance with ESBUILD
Dany Paredes
Dany Paredes

Posted on

Maximizing Your Angular Build Performance with ESBUILD

ESBuild is a swift JavaScript compiler used for ViteJS. You can play with him in Angular, changing a single line in the angular.json file.

Note: It is in experimental mode 😜

Change the builder from "@angular-devkit/build-angular:browser" to "@angular-devkit/build-angular:browser-esbuild".

  "build": {
          "builder": "@angular-devkit/build-angular:browser-esbuild",
          "options": {
Enter fullscreen mode Exit fullscreen mode

Run ng build again, leave in the comment how fast it is. My small project gets 59.72 % faster. OMG!!!!!!!


But if you want to read more about speed Angular checkout:

Happy Coding :)

Top comments (0)

Timeless DEV post...

Git Concepts I Wish I Knew Years Ago

The most used technology by developers is not Javascript.

It's not Python or HTML.

It hardly even gets mentioned in interviews or listed as a pre-requisite for jobs.

I'm talking about Git and version control of course.

One does not simply learn git