Skip to content
This repository was archived by the owner on May 13, 2026. It is now read-only.

Add twigStrictVariables option#53

Open
renestalder wants to merge 1 commit into
pattern-lab:developfrom
NothingAG:feat/strict-variables-option
Open

Add twigStrictVariables option#53
renestalder wants to merge 1 commit into
pattern-lab:developfrom
NothingAG:feat/strict-variables-option

Conversation

@renestalder
Copy link
Copy Markdown

@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
Copy Markdown
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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant