11ty v3 + ESM + Rollup + PostCSS + ESLint v9
-
tested in Node 20, should work in Node 18
-
builds to
_sitefolder -
uses
tokens.jsonfor global variables -
uses
rollup.config.jsfor JS bundling, including iife and esm formats
-
copy
.env.exampleto.env(.env.CANONICAL is usually the URL of the deployment environment) -
edit
tokens.json -
npm install
-
npm start
or
- npm run build
- Thanks to Bryce Wray for publishing these articles on cache-busting in Eleventy https://www.brycewray.com/posts/2020/12/hashing-out-cache-busting-fix-eleventy/