zachleat@zachleat.com’s Mastodon Archive

♻️ Reblog of Eleventy 🎈 v2.0.0 (eleventy@fosstodon.org)

New plugin release: @11ty/eleventy-plugin-bundle

github.com/11ty/eleventy-plugi

Create minimal per-page or app-level bundles of CSS, JavaScript, or HTML to be included in your Eleventy project.

Makes it easy to implement Critical CSS, in-use-only JS bundles, SVG icon libraries, or secondary HTML content to load via XHR.

This brings some of the WebC Bundler Mode features to other template types: Nunjucks, Liquid, Handlebars, and 11ty.js—and we’ll circle back to use this in WebC moving forward!