Open dictions opened 3 years ago
I think a potentially neat pattern would be to have a util like this.
renderStaticFile(filename, paths[, context])
So imagine a third-party library that watches some .md
files for changes. On change, renders that file using the above.
We should have a way of exposing certain aspects of presta's run time to be called programmatically (e.g. building when files change, busting cache, etc.)
Gatsby is a solid example of this: https://www.gatsbyjs.com/docs/actions