feat: convert all files to esm
This commit is contained in:
parent
ef6923ece6
commit
e8fd3a17d2
34 changed files with 202 additions and 228 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue