Skip to content

Commit

Permalink
(fix) Lazy-load Angular locales (#1453)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibacher authored Nov 3, 2023
1 parent 83bb748 commit 31634d8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export class FeWrapperComponent implements OnInit, OnDestroy {
import(
/* webpackInclude: /\.mjs$/ */
/* webpackChunkName: "./assets/l10n/locales/[request]"*/
/* webpackMode: "lazy" */
`@/../../../node_modules/@angular/common/locales/${locale}.mjs`
).then((module) => registerLocaleData(module.default));

Expand Down

0 comments on commit 31634d8

Please sign in to comment.