fix(angular): add @angular/localize to list of default packages to be eagerly loaded in mf apps (#11189)
This commit is contained in:
parent
6866122db8
commit
b7a1cd30fc
@ -224,7 +224,10 @@ function applyAdditionalShared(
|
|||||||
function applyDefaultEagerPackages(
|
function applyDefaultEagerPackages(
|
||||||
sharedConfig: Record<string, SharedLibraryConfig>
|
sharedConfig: Record<string, SharedLibraryConfig>
|
||||||
) {
|
) {
|
||||||
const DEFAULT_PACKAGES_TO_LOAD_EAGERLY = ['@angular/localize/init'];
|
const DEFAULT_PACKAGES_TO_LOAD_EAGERLY = [
|
||||||
|
'@angular/localize',
|
||||||
|
'@angular/localize/init',
|
||||||
|
];
|
||||||
for (const pkg of DEFAULT_PACKAGES_TO_LOAD_EAGERLY) {
|
for (const pkg of DEFAULT_PACKAGES_TO_LOAD_EAGERLY) {
|
||||||
sharedConfig[pkg] = {
|
sharedConfig[pkg] = {
|
||||||
...(sharedConfig[pkg] ?? {}),
|
...(sharedConfig[pkg] ?? {}),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user