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

Add twigStrictVariables option #53

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

Conversation

renestalder
Copy link

@renestalder renestalder commented Feb 20, 2019

Enable setting strict_variables mode in Twig which helps to minimize build errors when components and patterns are used withing a Twig 2.0 (#41) environment.

To use, one can set twigStrictVariables: true in the patternlab config.

Enable setting strict_variables mode in Twig which helps to minimize build errors when components and patterns are used withing a Twig 2.0 environment.
@renestalder
Copy link
Author

I hope you can take a quick look @EvanLovely. Not sure how many people still use that patternengine, assuming it's going to be obsolete with v3.0 of Patternlab. But until this happens, this is still used in a few of my client projects.

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