update eleventyImageTransformPlugin config
This commit is contained in:
parent
ca1da36bd1
commit
308afa4333
1 changed files with 2 additions and 2 deletions
|
|
@ -56,12 +56,12 @@ export default async function (eleventyConfig) {
|
|||
|
||||
eleventyConfig.addPlugin(plugins.eleventyImageTransformPlugin, {
|
||||
formats: ['webp', 'jpeg'],
|
||||
widths: [650, 960, 1200],
|
||||
widths: ['auto'],
|
||||
htmlOptions: {
|
||||
imgAttributes: {
|
||||
loading: 'lazy',
|
||||
decoding: 'async',
|
||||
sizes: '100vw'
|
||||
sizes: 'auto'
|
||||
},
|
||||
pictureAttributes: {}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue