Open
Description
Ex. say you have a button.twig
file with the JSON data for that button.twig
file living in a separate sibling folder (let's say you want to organize examples and variations of using a particular component separately).
Even though button.json
is in a separate folder than button.twig
, Pattern Lab still correctly picks this up and compiles everything correctly without throwing any errors.
The problem pops up when dealing with psuedo pattern variations (ex. button~large.json
) which Pattern Lab currently fails to grab the correct template path for (the template path to the original button.twig
file).
Good news: I've got a working fix for this that I'll be putting in shortly!