1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-06-30 21:46:39 -04:00

enable AVIF images

This commit is contained in:
2022-02-15 12:59:54 -05:00
parent a47d49c0d5
commit 67d98124f6
4 changed files with 163 additions and 154 deletions

View File

@ -27,6 +27,8 @@ module.exports = (phase, { defaultConfig }) => {
},
images: {
deviceSizes: [640, 750, 828, 1080, 1200, 1920],
formats: ["image/avif", "image/webp"],
minimumCacheTTL: 43200,
},
experimental: {
// use critters to automatically inline critical css: