parent
1cb62346e4
commit
c7c7f9fbe8
|
@ -707,22 +707,24 @@ the CLI configuration file, `angular.json`.
|
||||||
"i18nLocale": "fr",
|
"i18nLocale": "fr",
|
||||||
"i18nMissingTranslation": "error",
|
"i18nMissingTranslation": "error",
|
||||||
}
|
}
|
||||||
// ...
|
}
|
||||||
"serve": {
|
|
||||||
"builder": "@angular-devkit/build-angular:dev-server",
|
|
||||||
"options": {
|
|
||||||
"browserTarget": "my-project:build"
|
|
||||||
},
|
},
|
||||||
"configurations": {
|
...
|
||||||
"production": {
|
"serve": {
|
||||||
"browserTarget": "my-project:build:production"
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||||||
|
"options": {
|
||||||
|
"browserTarget": "my-project:build"
|
||||||
},
|
},
|
||||||
"fr": {
|
"configurations": {
|
||||||
"browserTarget": "my-project:build:fr"
|
"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.
|
The same configuration options can also be provided through the CLI with your existing `production` configuration.
|
||||||
|
|
Loading…
Reference in New Issue