Angular Builder¶
Rule¶
Use @angular/build:application as builder, you can check this option in your angular.json file :
{
"projects": {
"{my-project}": {
"architect": {
"build": {
"builder": "@angular/build:application",
"options": {}
}
}
}
}
}
In v17 and higher, the new build system provides an improved way to build Angular applications. This new build system includes:
- A modern output format using ESM, with dynamic import expressions to support lazy module loading.
- Faster build-time performance for both initial builds and incremental rebuilds.
- Newer JavaScript ecosystem tools such as esbuild and Vite.
- Integrated SSR and pre-rendering capabilities.
- Automatic global and component stylesheet hot replacement.