DEV Community

Discussion on: Looking for no framework, no "library" static site generator, with API data source, or should I go for SSR?

Collapse
 
webbureaucrat profile image
webbureaucrat

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).

Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt

I completely forgot about *.eleventy.js; so yes, it is possible.

However, I don't think *.eleventy.js natively support @babel/node (Babel) or ts-node (TypeScript), so it will make life a little harder for me.