From 64bc464aca50f8597459694f2a443fbdab4a92eb Mon Sep 17 00:00:00 2001 From: Rohan Kumar Date: Tue, 2 Aug 2022 18:24:02 -0700 Subject: [PATCH] Update budget.json Keep max page weight but allow greater markup limit. --- config.toml | 3 ++- linter-configs/budget.json | 10 +++++++--- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 4cdf2fb..cef82e5 100644 --- a/config.toml +++ b/config.toml @@ -157,7 +157,8 @@ disableKinds = ["taxonomy", "term"] # than IncludeFields above, depending on what you want. excludeFields = ".*" -# don't minify html but minify other resources, esp the fulltext rss/atom feeds +# don't minify html but minify other resources +# Don't minify atom feeds because it messes up whitespace in entry contents. [minify] minifyOutput = true disableXML = true diff --git a/linter-configs/budget.json b/linter-configs/budget.json index 053c466..e352361 100644 --- a/linter-configs/budget.json +++ b/linter-configs/budget.json @@ -31,18 +31,22 @@ }, { "resourceType": "document", - "budget": 60 + "budget": 75 }, { "resourceType": "image", - "budget": 35 + "budget": 50 }, { "resourceType": "stylesheet", - "budget": 1 + "budget": 3 } ], "resourceCounts": [ + { + "resourceType": "stylesheet", + "budget": 1 + }, { "resourceType": "script", "budget": 0