An Interest In:
Web News this Week
- April 23, 2024
- April 22, 2024
- April 21, 2024
- April 20, 2024
- April 19, 2024
- April 18, 2024
- April 17, 2024
September 15, 2022 08:48 pm GMT
Original Link: https://dev.to/fabiobiondi/angular-esbuild-2540-build-time-3mfa
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": {...
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:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To