mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-17 19:13:34 +08:00
Due to the update of the experimental esbuild-based browser application builder to use esbuild 0.17, the watch mode has been changed to use the new incremental API. The previous API has been removed from esbuild. The new API involves creating a build context object that can then be used to perform rebuilds of the configured application bundler as needed. All watch mode usage has been updated to use this new approach. An effort was made to minimize the amount of changes made to support this API update and limit the changeset. However, further refactoring will be possible as additional capabilities are added in the future. esbuild API reference: https://esbuild.github.io/api/#rebuild