mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-18 03:23:57 +08:00
Only the `replaceBootstrap` TypeScript transform is needed with the `browser-esbuild` builder. The `replaceBootstrap` transform converts the default generated JIT bootstrap call into an AOT bootstrap call within an application. The other transforms were used to remove the development and JIT related metadata from the AOT compiler generated code. However, with the esbuild based build pipeline, these will be automatically removed without the need for additional transforms via the earlier usage of the `ngJitMode` and `ngDevMode` defines.