patternengine-php-twig
patternengine-php-twig copied to clipboard
Add twigStrictVariables option
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.
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.