The Angular team has completed the transition from Webpack to a new build system powered by Vite and esbuild, making it the stable default in Angular CLI 18.
Benchmarks on large Angular applications show significant build time reductions:
The build system uses esbuild for TypeScript compilation and bundling, with Vite powering the development server. The Angular CLI abstracts this completely — your angular.json and build commands remain unchanged:
ng serve # now uses Vite dev server
ng build # now uses esbuild
ng test # faster compilation before test runs
# Automatic migration
ng update @angular/cli @angular/core
# The CLI migration schematic updates angular.json automatically
Projects using @angular-builders/custom-webpack need to migrate their custom configuration to the new build system. The Angular team provides migration guides for common Webpack customisations.
All Comments