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.

104 lines
2.9 KiB

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