README
eleventy-plugin-img
⚠️⚠️⚠️ This plugin has been temporarily superceded by the lower level utility eleventy-img
. Please use that instead!
Installation
Available on npm.
npm install @11ty/eleventy-plugin-img --save-dev
Open up your Eleventy config file (probably .eleventy.js
) and use addPlugin
:
const pluginImg = require("@11ty/eleventy-plugin-img");
module.exports = function(eleventyConfig) {
eleventyConfig.addPlugin(pluginImg);
};
Read more about Eleventy plugins.