angular.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. {
  2. "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
  3. "version": 1,
  4. "cli": {
  5. "packageManager": "npm"
  6. },
  7. "newProjectRoot": "projects",
  8. "projects": {
  9. "Tik-tok": {
  10. "projectType": "application",
  11. "schematics": {},
  12. "root": "",
  13. "sourceRoot": "src",
  14. "prefix": "app",
  15. "architect": {
  16. "build": {
  17. "builder": "@angular/build:application",
  18. "options": {
  19. "browser": "src/main.ts",
  20. "tsConfig": "tsconfig.app.json",
  21. "assets": [
  22. {
  23. "glob": "**/*",
  24. "input": "public"
  25. },
  26. {
  27. "glob": "ffmpeg-core.*",
  28. "input": "node_modules/@ffmpeg/core/dist/esm",
  29. "output": "assets/ffmpeg"
  30. },
  31. {
  32. "glob": "*.js",
  33. "input": "node_modules/@ffmpeg/ffmpeg/dist/esm",
  34. "output": "assets/ffmpeg/worker"
  35. }
  36. ],
  37. "styles": [
  38. "src/styles.css"
  39. ]
  40. },
  41. "configurations": {
  42. "production": {
  43. "optimization": {
  44. "scripts": true,
  45. "styles": {
  46. "minify": true,
  47. "inlineCritical": true,
  48. "removeSpecialComments": true
  49. },
  50. "fonts": {
  51. "inline": false
  52. }
  53. },
  54. "budgets": [
  55. {
  56. "type": "initial",
  57. "maximumWarning": "1.5MB",
  58. "maximumError": "2MB"
  59. },
  60. {
  61. "type": "anyComponentStyle",
  62. "maximumWarning": "150kB",
  63. "maximumError": "200kB"
  64. }
  65. ],
  66. "outputHashing": "all",
  67. "fileReplacements": [
  68. {
  69. "replace": "src/environments/environment.ts",
  70. "with": "src/environments/environment.prod.ts"
  71. }
  72. ]
  73. },
  74. "development": {
  75. "optimization": false,
  76. "extractLicenses": false,
  77. "sourceMap": true
  78. }
  79. },
  80. "defaultConfiguration": "production"
  81. },
  82. "serve": {
  83. "builder": "@angular/build:dev-server",
  84. "configurations": {
  85. "production": {
  86. "buildTarget": "Tik-tok:build:production"
  87. },
  88. "development": {
  89. "buildTarget": "Tik-tok:build:development"
  90. }
  91. },
  92. "defaultConfiguration": "development"
  93. },
  94. "test": {
  95. "builder": "@angular/build:unit-test"
  96. }
  97. }
  98. }
  99. }
  100. }