-
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.
feat(@angular-devkit/build-angular): support incremental TypeScript s…
…emantic diagnostics in esbuild builder When using the esbuild-based browser application builder with CLI caching enabled, TypeScript's `incremental` option will also be enabled by default. A TypeScript build information file will be written after each build and an attempt to load and use the file will be made during compilation setup. Caching is enabled by default within the CLI and can be controlled via the `ng cache` command. This is the first use of persistent caching for the esbuild-based builder. If the TypeScript `incremental` option is manually set to `false`, the build system will not alter the value. This can be used to disable the behavior, if preferred, by setting the option to `false` in the application's configured `tsconfig` file. NOTE: The build information only contains information regarding the TypeScript compilation itself and does not contain information about the Angular AOT compilation. TypeScript does not have knowledge of the AOT compiler and it therefore cannot include that information in its build information file. Angular AOT analysis is still performed for each build.
- Loading branch information
Showing
5 changed files
with
113 additions
and
72 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
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
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