Search
Items tagged with: esm
#Pack11ty now uses @eleventy v3
Also, the code has been fully rewritten to integrate modern JavaScript features like ECMAScript Modules (aka #ESM), just like #Eleventy.
Both the plugin and the template repository (aka Eleventy Starter) have been updated.
Also, the assets are now processed with a combination of Eleventy's Custom template languages, Render plugin and Bundle plugin. 😍
The documentation will soon be updated accordingly.
pack11ty.dev/news/2024/11/08/n…
Pack11ty now uses Eleventy v3 — Pack11ty
Big Pack11ty update with Eleventy v3 and modernized code base!Pack11ty
If you’re running a relatively recent version of Node.js – I’m on 22.x for Kitten¹ at the moment– and you use ES Modules (because, of course, you use ES Modules, right, because it’s almost 2025…) and you want to use .js extensions and not have to litter package.json files with "type": "module" all over the place, you can start Node with the following flag and it should Just Work™ ;)
--experimental-default-type
#NodeJS #ESM #ECMAScript #JavaScript #modules