-
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 dev-server package prebu…
…ndling with esbuild builder When using the development server with the esbuild-based browser application builder, the underlying Vite server will now prebundle packages present in an application. During the prebundling process, the Angular linker will also be invoked to ensure that APF packages are processed for AOT usage. The Vite prebundling also provides automatic persistent caching of processed packages. This allows reuse of processed packages across `ng serve` invocations. To support the use of prebundling at the development server level, all packages are considered external from the build level. The first time a package is used within an application there may be a short delay upon accessing the page as the package is processed. Due to the persistent nature of the prebundling, the `ng cache` command is used to control the use of the feature. Please note, however, disabling the cache will also disable TypeScript incremental compilation if not otherwise specifically disabled.
- Loading branch information
Showing
3 changed files
with
102 additions
and
8 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