diff --git a/eleventy.config.js b/eleventy.config.js index f4d9a7d..019cc77 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -2,7 +2,6 @@ import { IdAttributePlugin, InputPathToUrlTransformPlugin, HtmlBasePlugin } from import { feedPlugin } from "@11ty/eleventy-plugin-rss"; import pluginSyntaxHighlight from "@11ty/eleventy-plugin-syntaxhighlight"; import pluginNavigation from "@11ty/eleventy-navigation"; -import { eleventyImageTransformPlugin } from "@11ty/eleventy-img"; import pluginFilters from "./_config/filters.js"; @@ -72,27 +71,6 @@ export default async function(eleventyConfig) { } }); - // Image optimization: https://www.11ty.dev/docs/plugins/image/#eleventy-transform - eleventyConfig.addPlugin(eleventyImageTransformPlugin, { - // Output formats for each image. - formats: ["avif", "webp", "auto"], - - // widths: ["auto"], - - failOnError: false, - htmlOptions: { - imgAttributes: { - // e.g. assigned on the HTML tag will override these values. - loading: "lazy", - decoding: "async", - } - }, - - sharpOptions: { - animated: true, - }, - }); - // Filters eleventyConfig.addPlugin(pluginFilters);