Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable custom Handlebars configuration #1

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

julrich
Copy link
Member

@julrich julrich commented Mar 29, 2018

This worked for us, replicating pretty much 1:1 what is done in engine_nunjucks:
https://github.com/pattern-lab/patternlab-node/blob/master/packages/engine-nunjucks/lib/engine_nunjucks.js#L32

Additionally needs a file like the following in the project root (next to patternlab-config.json) if you wish to add your own configuration to Handlebars (e.g. helpers)
https://gist.github.com/julrich/3bbef9bd8af9fabd78f54caa25ee5d6c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant