Skip to content

Commit 5bdaf68

Browse files
authored
🔧 chore(ci): Fail Lighthouse CI on improperly sized images
🔧 chore(ci): Fail Lighthouse CI on improperly sized images
2 parents 0a0e8cb + be299b5 commit 5bdaf68

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": ["error", { "maxWastedBytes": 102400 }],
3132
"uses-http2": "off"
3233
}
3334
}

0 commit comments

Comments
 (0)