feat(common): generate closure-locale.ts to tree shake locale data (#18907)

Closure will only keep the data for the locale defined in `goog.LOCALE`

PR Close #18907
This commit is contained in:
Olivier Combe
2017-08-21 19:11:07 +02:00
committed by Miško Hevery
parent 4c5aac8cd5
commit 48789360b1
8 changed files with 2511 additions and 4 deletions

View File

@ -44,3 +44,4 @@ gulp.task('changelog', loadTask('changelog'));
gulp.task('check-env', () => {/* this is a noop because the env test ran already above */});
gulp.task('cldr:extract', loadTask('cldr', 'extract'));
gulp.task('cldr:download', loadTask('cldr', 'download'));
gulp.task('cldr:gen-closure-locale', loadTask('cldr', 'closure'));