姜皓天 4 mēneši atpakaļ
vecāks
revīzija
384d6198b0
2 mainītis faili ar 20 papildinājumiem un 4 dzēšanām
  1. 15 0
      README.md
  2. 5 4
      angular.json

+ 15 - 0
README.md

@@ -25,3 +25,18 @@ Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To u
 ## Further help
 
 To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
+
+
+
+// "budgets": [
+              //   {
+              //     "type": "initial",
+              //     "maximumWarning": "500kb",
+              //     "maximumError": "1mb"
+              //   },
+              //   {
+              //     "type": "anyComponentStyle",
+              //     "maximumWarning": "2kb",
+              //     "maximumError": "4kb"
+              //   }
+              // ],

+ 5 - 4
angular.json

@@ -36,16 +36,17 @@
           },
           "configurations": {
             "production": {
+              
               "budgets": [
                 {
                   "type": "initial",
-                  "maximumWarning": "500kb",
-                  "maximumError": "1mb"
+                  "maximumWarning": "5mb",
+                  "maximumError": "10mb"
                 },
                 {
                   "type": "anyComponentStyle",
-                  "maximumWarning": "2kb",
-                  "maximumError": "4kb"
+                  "maximumWarning": "5mb",
+                  "maximumError": "10mb"
                 }
               ],
               "outputHashing": "all"