Zach Leatherman
Zach Leatherman
Shipping your PR with 3.0.0-alpha.11
A cache buster does exist for ESM in 11ty, must be a regression here.
Shipping with v3.0.0-alpha.14, using module.register to cache bust dependencies when logged as changed by the file watcher. https://nodejs.org/docs/latest/api/module.html#moduleregisterspecifier-parenturl-options
@noelleleigh filed at #3371
3.0.0-alpha.15 will ship with a memoization layer around the `slug`, `slugify`, and `inputPathToUrl` filters. Note that benchmarking output will still reflect the unmemoized call count (e.g. 998× below): ``` Eleventy:Benchmark...
Preview docs: https://11ty-website-git-v3-11ty.vercel.app/docs/memoize/
11ty.webc should probably be just webc there, if you're using the existing eleventy WebC plugin
Looks like this feature only works with core template syntaxes: md, html, njk, liquid, and 11ty.js. Gonna file it as a bug.
Yeah, 100%. I’d like to get WebC at 1.0 before this happens. Per #1103 I think Pug is going to move to plugin-land, which will make more than enough room...
Punting this one to 4.0