Browse Source

add en-GB locale to the webpackInclude magic comment

pull/7190/head
mehmet-erim 6 years ago
parent
commit
b69b9f83f7
  1. 2
      npm/ng-packs/packages/core/locale/src/utils/register-locale.ts

2
npm/ng-packs/packages/core/locale/src/utils/register-locale.ts

@ -28,7 +28,7 @@ export function registerLocale(
return new Promise((resolve, reject) => {
return import(
/* webpackChunkName: "_locale-[request]"*/
/* webpackInclude: /[/\\](ar|cs|en|fr|pt|tr|ru|hu|sl|zh-Hans|zh-Hant).js/ */
/* webpackInclude: /[/\\](ar|cs|en|en-GB|fr|pt|tr|ru|hu|sl|zh-Hans|zh-Hant).js/ */
/* webpackExclude: /[/\\]global|extra/ */
`@angular/common/locales/${localeMap[locale] || locale}.js`
)

Loading…
Cancel
Save