Skip to content

Commit

Permalink
style: align i18n angular config (#32334)
Browse files Browse the repository at this point in the history
PR Close #32334
  • Loading branch information
alan-agius4 authored and atscott committed Aug 27, 2019
1 parent 1cb6234 commit c7c7f9f
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions aio/content/guide/i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit c7c7f9f

Please sign in to comment.