Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(@ngtools/webpack): avoid bootstrap conversion AST traversal wher…
…e possible To support AOT compilation the Angular bootstrap call needs to be converted from using `platform-browser-dynamic` to `platform-browser`. This transform was previously being executed against every source file within the program regardless of the presence of `platformBrowserDynamic`. An initial check is now performed that can avoid AST traversal when the bootstrapping call is not present in a file. (cherry picked from commit 4fa8392)
- Loading branch information