From a397c2c6ebc8d6ce7b4e31b3c5c82a1c26ee9e36 Mon Sep 17 00:00:00 2001 From: Nyx Tutt Date: Sun, 2 Mar 2025 23:25:08 -0600 Subject: [PATCH] mess wiht config a bit --- eleventy.config.js | 22 ---------------------- 1 file changed, 22 deletions(-) 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);