-
Notifications
You must be signed in to change notification settings - Fork 12k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(@angular/build): avoid write file logic for internal applica…
…tion build action 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.
- Loading branch information
Showing
10 changed files
with
155 additions
and
185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.