diff --git a/eleventy.config.js b/eleventy.config.js index f2c19df..d78776f 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -342,7 +342,7 @@ export default function (eleventyConfig) { // overwrites via addTransform) with a pre-check that avoids the full PostHTML // parse/serialize cycle (~3ms/page) for image-free pages. eleventyConfig.addTransform("@11ty/eleventy/html-transformer", async function(content) { - if (this.outputPath?.endsWith(".html") && !content.includes(", , etc.) // we must still run the full pipeline even without images. const hasUrlCallbacks = eleventyConfig.htmlTransformer.getCallbacks("html", this).length > 0;