You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should deprecate build optimizer getImportTslibTransformer transformer and display a warning when ever a library needs this transformer. That way developers can file issue reports with the library authors.
Library authors should ship their code already optimized by enabling importHelpers in their tsconfig.
…ormer
This transformer can cause size regressions when it introduces `tslib` imports across independent chunks.
It should be deprecated because tslib adoption has become more ubiquitous.
Should also speed up Build Optimizer processing time because there's one less thing to do.
Closesangular#15401 without adding the warning, because some libraries like zone.js should inline the helpers.
filipesilva
added a commit
to filipesilva/angular-cli
that referenced
this issue
Oct 3, 2019
…ormer
This transformer can cause size regressions when it introduces `tslib` imports across independent chunks.
It should be deprecated because tslib adoption has become more ubiquitous.
Should also speed up Build Optimizer processing time because there's one less thing to do.
Closesangular#15401 without adding the warning, because some libraries like zone.js should inline the helpers.
🚀 Feature request
Description
We should deprecate build optimizer
getImportTslibTransformer
transformer and display a warning when ever a library needs this transformer. That way developers can file issue reports with the library authors.Library authors should ship their code already optimized by enabling
importHelpers
in theirtsconfig
.More info:
https://www.typescriptlang.org/docs/handbook/compiler-options.html https://github.com/Microsoft/tslib
The text was updated successfully, but these errors were encountered: