Skip to content

Instantly share code, notes, and snippets.

@zachleat
Created August 27, 2025 16:09
Show Gist options
  • Save zachleat/4492ad55a3d350182d20f8728b43a6a4 to your computer and use it in GitHub Desktop.
Save zachleat/4492ad55a3d350182d20f8728b43a6a4 to your computer and use it in GitHub Desktop.
Use Eleventy Image concurrency with Image Transform method
// Using the command: DEBUG=Eleventy:Image* npx @11ty/eleventy
// will report the concurrency value used.
import eleventyImage, { eleventyImageTransformPlugin } from "@11ty/eleventy-img";
eleventyImage.concurrency = 1;
export default async function (eleventyConfig) {
eleventyConfig.addPlugin(eleventyImageTransformPlugin, {
// …
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment