mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-19 20:52:06 +08:00
The `JavaScriptTransformer` class that is responsible for Angular linking and several build optimization transformations can now be configured to track and reuse previous and pending transformation requests. This allows for cases where multiple consumers of the class will not cause repeat transformation actions. Pending results will be stored if the constructor option `reuseResults` is enabled. If two transformation requests are issued for the same file, the same underlying result will be provided to each. This behavior currently only applies to file transformation requests.