Skip to content

Instantly share code, notes, and snippets.

@CharlieGreenman
Created October 10, 2019 10:35
Show Gist options
  • Save CharlieGreenman/ff583334c00b38a1381db1bbd41970ea to your computer and use it in GitHub Desktop.
Save CharlieGreenman/ff583334c00b38a1381db1bbd41970ea to your computer and use it in GitHub Desktop.
...
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": { ... },
"configurations": {
"fr": {
"aot": true,
"outputPath": "dist/my-project-fr/",
"i18nFile": "src/locale/messages.fr.xlf",
"i18nFormat": "xlf",
"i18nLocale": "fr",
"i18nMissingTranslation": "error",
}
}
},
...
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "my-project:build"
},
"configurations": {
"production": {
"browserTarget": "my-project:build:production"
},
"fr": {
"browserTarget": "my-project:build:fr"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment