Guest User

Untitled

a guest
May 20th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.67 KB | None | 0 0
  1. {
  2. ...
  3. "architect": {
  4. "build": {
  5. ...
  6. "configurations": {
  7. "production-fr": {
  8. "fileReplacements": [
  9. {
  10. "replace": "src/environments/environment.ts",
  11. "with": "src/environments/environment.prod.ts"
  12. }
  13. ],
  14. "optimization": true,
  15. "outputHashing": "all",
  16. "sourceMap": false,
  17. "extractCss": true,
  18. "namedChunks": false,
  19. "aot": true,
  20. "extractLicenses": true,
  21. "vendorChunk": false,
  22. "buildOptimizer": true,
  23. "outputPath": "dist/my-project-fr/",
  24. "i18nFile": "src/locale/messages.fr.xlf",
  25. "i18nFormat": "xlf",
  26. "i18nLocale": "fr",
  27. "i18nMissingTranslation": "error"
  28. },
  29. "production-it": {
  30. "fileReplacements": [
  31. {
  32. "replace": "src/environments/environment.ts",
  33. "with": "src/environments/environment.prod.ts"
  34. }
  35. ],
  36. "optimization": true,
  37. "outputHashing": "all",
  38. "sourceMap": false,
  39. "extractCss": true,
  40. "namedChunks": false,
  41. "aot": true,
  42. "extractLicenses": true,
  43. "vendorChunk": false,
  44. "buildOptimizer": true,
  45. "outputPath": "dist/my-project-it/",
  46. "i18nFile": "src/locale/messages.it.xlf",
  47. "i18nFormat": "xlf",
  48. "i18nLocale": "it",
  49. "i18nMissingTranslation": "error"
  50. },
  51. "fr": {
  52. "aot": true,
  53. "outputPath": "dist/my-project-fr/",
  54. "i18nFile": "src/locale/messages.fr.xlf",
  55. "i18nFormat": "xlf",
  56. "i18nLocale": "fr",
  57. "i18nMissingTranslation": "error"
  58. },
  59. "it": {
  60. "aot": true,
  61. "outputPath": "dist/my-project-it/",
  62. "i18nFile": "src/locale/messages.it.xlf",
  63. "i18nFormat": "xlf",
  64. "i18nLocale": "fr",
  65. "i18nMissingTranslation": "error"
  66. },
  67. "production": {
  68. ...
  69. }
  70. }
  71. },
  72. "serve": {
  73. ...
  74. "configurations": {
  75. "fr": {
  76. "browserTarget": "translations-prj:build:fr"
  77. },
  78. "it": {
  79. "browserTarget": "translations-prj:build:it"
  80. },
  81. ...
  82. }
  83. },
  84. ...
  85. },
  86. "lint": {
  87. ...
  88. }
  89. }
  90. },
  91. ...
  92. }
Add Comment
Please, Sign In to add comment