style: align i18n angular config (#32334)

PR Close #32334
This commit is contained in:
Alan 2019-08-27 10:23:10 +02:00 committed by atscott
parent 1cb62346e4
commit c7c7f9fbe8
1 changed files with 14 additions and 12 deletions

View File

@ -707,22 +707,24 @@ the CLI configuration file, `angular.json`.
"i18nLocale": "fr",
"i18nMissingTranslation": "error",
}
// ...
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "my-project:build"
}
},
"configurations": {
"production": {
"browserTarget": "my-project:build:production"
...
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "my-project:build"
},
"fr": {
"browserTarget": "my-project:build:fr"
"configurations": {
"production": {
"browserTarget": "my-project:build:production"
},
"fr": {
"browserTarget": "my-project:build:fr"
}
}
}
},
}
```
The same configuration options can also be provided through the CLI with your existing `production` configuration.