Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(core): make more ApplicationModule providers tree-shakable #45102

Closed

Commits on Feb 16, 2022

  1. refactor(core): drop unused SCHEDULER provider

    The `SCHEDULER` provider was used previously when both ViewEngine and Ivy code was present. After some prior refactoring, all references to the `SCHEDULER` token were removed, but the token itself remains present in the `ApplicationModule`, which makes it non-tree-shakable.
    
    This commit removes the `SCHEDULER` token as unused.
    AndrewKushnir committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    34ce3ee View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2022

  1. perf(core): make Compiler, ApplicationRef and `ApplicationInitSta…

    …tus` tree-shakable
    
    The `Compiler`, `ApplicationRef` and `ApplicationInitStatus` classes are registered as non-tree-shakable providers in the `ApplicationModule`. This commit converts them to the tree-shakable providers instead.
    AndrewKushnir committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    f7d98a3 View commit details
    Browse the repository at this point in the history
  2. perf(core): make LOCALE_ID and other tokens from `ApplicationModule…

    …` tree-shakable
    
    The `ApplicationModule` module has a number of tokens declared as non-tree-shakable providers. This commit updates them to make tree-shakable.
    AndrewKushnir committed Feb 17, 2022
    Configuration menu
    Copy the full SHA
    a166e1b View commit details
    Browse the repository at this point in the history