Skip to content
Discussion options

You must be logged in to vote

Gatsby functions only bundle files that you require. So instead of using ejs.renderFile, require the template and compile it and then use ejs.render.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@dmorda
Comment options

@KyleAMathews
Comment options

@dmorda
Comment options

Answer selected by dmorda
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants