build(common): inject deprecated getPluralCase
for treeshaking (#19136)
Fixes #19115 PR Close #19136
This commit is contained in:

committed by
Matias Niemelä

parent
bf94f878bc
commit
1aa8401ddf
@ -8,7 +8,7 @@
|
||||
|
||||
import {NgModule} from '@angular/core';
|
||||
import {COMMON_DIRECTIVES} from './directives/index';
|
||||
import {NgLocaleLocalization, NgLocalization, USE_V4_PLURALS} from './i18n/localization';
|
||||
import {DEPRECATED_PLURAL_FN, NgLocaleLocalization, NgLocalization, getPluralCase} from './i18n/localization';
|
||||
import {COMMON_DEPRECATED_I18N_PIPES} from './pipes/deprecated/index';
|
||||
import {COMMON_PIPES} from './pipes/index';
|
||||
|
||||
@ -38,7 +38,7 @@ export class CommonModule {
|
||||
@NgModule({
|
||||
declarations: [COMMON_DEPRECATED_I18N_PIPES],
|
||||
exports: [COMMON_DEPRECATED_I18N_PIPES],
|
||||
providers: [{provide: USE_V4_PLURALS, useValue: true}],
|
||||
providers: [{provide: DEPRECATED_PLURAL_FN, useValue: getPluralCase}],
|
||||
})
|
||||
export class DeprecatedI18NPipesModule {
|
||||
}
|
||||
|
Reference in New Issue
Block a user