Zach’s ugly mug (his face) Zach Leatherman

Eleventy v3 with ESM support now on the canary channel

December 18, 2023

The very first Eleventy v3 alpha release is out in the wild and you can try it out on your web site. The two big flagship features (so far) are ESM support (while keeping CommonJS support) and asynchronous configuration callbacks in both ESM and CommonJS.

eleventy.config.js (in a CommonJS project) or eleventy.config.cjs (in an ESM project):

module.exports = async function(eleventyConfig) {
	// …
}

eleventy.config.js (in an ESM project):

export default async function(eleventyConfig) {
	// …
}

Try it out!

Read more: 11ty.dev/blog/canary-eleventy-v3/

Screenshot image for https://v1.screenshot.11ty.dev/https%3A%2F%2Fwww.11ty.dev%2Fblog%2Fcanary-eleventy-v3%2F/opengraph//

< Newer
Netlify’s Disingenuous Survey-based Attack on Next.js (and Eleventy, too)
Older >
snow-fall Web Component

Zach Leatherman IndieWeb Avatar for https://zachleat.com/is a builder for the web at IndieWeb Avatar for https://fontawesome.com/Font Awesome and the creator/maintainer of IndieWeb Avatar for https://www.11ty.devEleventy (11ty), an award-winning open source site generator. At one point he became entirely too fixated on web fonts. He has given 83 talks in nine different countries at events like Beyond Tellerrand, Smashing Conference, Jamstack Conf, CSSConf, and The White House. Formerly part of CloudCannon, Netlify, Filament Group, NEJS CONF, and NebraskaJS. Learn more about Zach »

Shamelessly plug your related post

These are webmentions via the IndieWeb and webmention.io.

Sharing on social media?

This is what will show up when you share this post on Social Media:

How did you do this? I automated my Open Graph images. (Peer behind the curtain at the test page)