Browse Source

chore: add tr locale to webpack magic comment

pull/5689/head
mehmet-erim 6 years ago
parent
commit
fb80dccb4b
  1. 2
      npm/ng-packs/packages/core/src/lib/utils/initial-utils.ts

2
npm/ng-packs/packages/core/src/lib/utils/initial-utils.ts

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

Loading…
Cancel
Save