Have you tried Eleventy? It's very pluggable. Without knowing your use case, I think you could do what you needed by defining an Eleventy custom filter (a javascript function defined in the .eleventy.js that you can call from your static page that will fire at compile time).
Have you tried Eleventy? It's very pluggable. Without knowing your use case, I think you could do what you needed by defining an Eleventy custom filter (a javascript function defined in the .eleventy.js that you can call from your static page that will fire at compile time).
I completely forgot about
*.eleventy.js
; so yes, it is possible.However, I don't think
*.eleventy.js
natively support@babel/node
(Babel) orts-node
(TypeScript), so it will make life a little harder for me.