Browse Source

Merge pull request #7190 from abpframework/chore/new-locale

Included en-GB locale file to the Angular UI bundle
pull/7203/head
Muhammed Altuğ 6 years ago
committed by GitHub
parent
commit
28cfcc4bc4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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 new Promise((resolve, reject) => {
return import( return import(
/* webpackChunkName: "_locale-[request]"*/ /* 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/ */ /* webpackExclude: /[/\\]global|extra/ */
`@angular/common/locales/${localeMap[locale] || locale}.js` `@angular/common/locales/${localeMap[locale] || locale}.js`
) )

Loading…
Cancel
Save