micro-front-end
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
2.9 KiB

  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "cli": {
  4. "analytics": false
  5. },
  6. "version": 1,
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "remote3": {
  10. "projectType": "application",
  11. "schematics": {
  12. "@schematics/angular:component": {
  13. "style": "scss"
  14. },
  15. "@schematics/angular:application": {
  16. "strict": true
  17. }
  18. },
  19. "root": "",
  20. "sourceRoot": "src",
  21. "prefix": "remote3",
  22. "architect": {
  23. "build": {
  24. "builder": "ngx-build-plus:browser",
  25. "options": {
  26. "outputPath": "dist/remote3",
  27. "index": "src/index.html",
  28. "main": "src/main.ts",
  29. "polyfills": "src/polyfills.ts",
  30. "tsConfig": "tsconfig.app.json",
  31. "inlineStyleLanguage": "scss",
  32. "assets": [
  33. "src/favicon.ico",
  34. "src/assets"
  35. ],
  36. "styles": [
  37. "src/styles.scss"
  38. ],
  39. "scripts": [],
  40. "extraWebpackConfig": "webpack.config.js",
  41. "commonChunk": false
  42. },
  43. "configurations": {
  44. "production": {
  45. "budgets": [
  46. {
  47. "type": "initial",
  48. "maximumWarning": "500kb",
  49. "maximumError": "1mb"
  50. },
  51. {
  52. "type": "anyComponentStyle",
  53. "maximumWarning": "2kb",
  54. "maximumError": "4kb"
  55. }
  56. ],
  57. "fileReplacements": [
  58. {
  59. "replace": "src/environments/environment.ts",
  60. "with": "src/environments/environment.prod.ts"
  61. }
  62. ],
  63. "outputHashing": "all",
  64. "extraWebpackConfig": "webpack.prod.config.js"
  65. },
  66. "development": {
  67. "buildOptimizer": false,
  68. "optimization": false,
  69. "vendorChunk": true,
  70. "extractLicenses": false,
  71. "sourceMap": true,
  72. "namedChunks": true
  73. }
  74. },
  75. "defaultConfiguration": "production"
  76. },
  77. "serve": {
  78. "builder": "ngx-build-plus:dev-server",
  79. "configurations": {
  80. "production": {
  81. "browserTarget": "remote3:build:production",
  82. "extraWebpackConfig": "webpack.prod.config.js"
  83. },
  84. "development": {
  85. "browserTarget": "remote3:build:development"
  86. }
  87. },
  88. "defaultConfiguration": "development",
  89. "options": {
  90. "port": 7000,
  91. "extraWebpackConfig": "webpack.config.js"
  92. }
  93. },
  94. "extract-i18n": {
  95. "builder": "ngx-build-plus:extract-i18n",
  96. "options": {
  97. "browserTarget": "remote3:build",
  98. "extraWebpackConfig": "webpack.config.js"
  99. }
  100. },
  101. "test": {
  102. "builder": "@angular-devkit/build-angular:karma",
  103. "options": {
  104. "main": "src/test.ts",
  105. "polyfills": "src/polyfills.ts",
  106. "tsConfig": "tsconfig.spec.json",
  107. "karmaConfig": "karma.conf.js",
  108. "inlineStyleLanguage": "scss",
  109. "assets": [
  110. "src/favicon.ico",
  111. "src/assets"
  112. ],
  113. "styles": [
  114. "src/styles.scss"
  115. ],
  116. "scripts": []
  117. }
  118. }
  119. }
  120. }
  121. },
  122. "defaultProject": "remote3"
  123. }