build(common): extract i18n locale data from cldr (#18284)
PR Close #18284
This commit is contained in:

committed by
Miško Hevery

parent
409688fe17
commit
33d250ffaa
@ -1,3 +1,13 @@
|
||||
/**
|
||||
* @license
|
||||
* Copyright Google Inc. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by an MIT-style license that can be
|
||||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
const {I18N_FOLDER, I18N_DATA_FOLDER} = require('./cldr/extract');
|
||||
|
||||
// clang-format entry points
|
||||
const srcsToFmt = [
|
||||
'packages/**/*.{js,ts}',
|
||||
@ -8,6 +18,11 @@ const srcsToFmt = [
|
||||
'!tools/public_api_guard/**/*.d.ts',
|
||||
'./*.{js,ts}',
|
||||
'!shims_for_IE.js',
|
||||
`!${I18N_DATA_FOLDER}/**/*.{js,ts}`,
|
||||
`!${I18N_FOLDER}/available_locales.ts`,
|
||||
`!${I18N_FOLDER}/currencies.ts`,
|
||||
`!${I18N_FOLDER}/locale_en.ts`,
|
||||
'!tools/gulp-tasks/cldr/extract.js',
|
||||
];
|
||||
|
||||
module.exports = {
|
||||
|
Reference in New Issue
Block a user