mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
0e1cbecc2c
The `generate-locales-tool` now needs to run as ESM because we changed the `ts_library` rule. This commit accounts for the ESM syntax but removing CJS code parts like `require.main === module`. Also imports using `require` need to be changed to their ESM equivalents. PR Close #48521
17 lines
703 B
TypeScript
17 lines
703 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google LLC 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
|
|
*/
|
|
|
|
/**
|
|
* Base locale used as foundation for other locales. For example: A base locale allows
|
|
* generation of a file containing all currencies with their corresponding symbols. If we
|
|
* generate other locales, they can override currency symbols which are different in the base
|
|
* locale. This means that we do not need re-generate all currencies w/ symbols multiple times,
|
|
* and allows us to reduce the locale data payload as the base locale is always included.
|
|
* */
|
|
export const BASE_LOCALE = 'en';
|