Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
September 15, 2022 08:48 pm GMT

Angular v.14 ESBUILD = -25/40% build time

Angular v.14 now supports esbuild, a "new" super fast JavaScript Bundler, also used by ViteJS.

I have tried it right now in a small Angular project (about 10 modules) and it almost halved the build time (-44%).

If you want to try it (but it's still experimental!) you can simply add the suffix '-esbuild' in your angular.json file as shown in the attached image.

..."architect": { "build": {  "builder": "@angular-devkit/build-angular:browser-esbuild",     "options": {...

angular.json screenshot

More info and tutorials about Angular, React, RxJS and JS on my YouTube Channel


Original Link: https://dev.to/fabiobiondi/angular-esbuild-2540-build-time-3mfa

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To