Skip to content

Commit 6fdc8cf

Browse files
committed
🔧 chore(lighthouse): add responsive images assertion
Add a warning assertion for the 'uses-responsive-images' audit in Lighthouse configuration with a threshold of 100KB max wasted bytes. This helps identify oversized images that could be optimized.
1 parent 2b1211a commit 6fdc8cf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lighthouserc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"categories:accessibility": ["warn", { "minScore": 0.9 }],
2929
"categories:best-practices": ["warn", { "minScore": 0.9 }],
3030
"categories:seo": ["warn", { "minScore": 0.9 }],
31+
"uses-responsive-images": ["warn", { "maxWastedBytes": 102400 }],
3132
"uses-http2": "off"
3233
}
3334
}

0 commit comments

Comments
 (0)