姜皓天 vor 4 Monaten
Ursprung
Commit
384d6198b0
2 geänderte Dateien mit 20 neuen und 4 gelöschten Zeilen
  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"