feat: convert all files to esm

This commit is contained in:
Devin Haska 2024-10-03 22:52:20 -07:00
parent ef6923ece6
commit e8fd3a17d2
34 changed files with 202 additions and 228 deletions

View file

@ -1,4 +1,4 @@
const Image = require("@11ty/eleventy-img");
import Image from "@11ty/eleventy-img";
const stringifyAttributes = (attributeMap) => {
return Object.entries(attributeMap)
@ -73,4 +73,4 @@ const imageShortcode = async (
return imageElement;
};
module.exports = imageShortcode;
export default imageShortcode;