mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +08:00
The internal "buildApplicationInternal" function is only used by several consumers that require writing the output files to disk. One, `browser-esbuild`, directly writes to the disk. The two experimental unit test builders also have unique requirements and also directly write. This leaves only the main `application` builder that relies on the internal file writing functionality of `buildApplicationInternal`. To avoid unneeded logic for the other usages (`dev-server`, `extract-i18n`, unit testing, etc.), the disk writing logic is now elevated to the `application` build itself. The internal function will now always provide the output files within the result objects generated from a successful build. This also removes the need for the other usages to specify that files should not be written to disk.
Angular Build System for Applications and Libraries
The sources for this package are in the Angular CLI repository. Please file issues and pull requests against that repository.
Usage information and reference details can be found in repository README file.