Skip to content

Bug: Builder.php Can't Correctly Find Template File for Psuedo-Patterns #22

Description

@sghoweri

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).

builder_php_ _bolt

1__gulp__open_

Good news: I've got a working fix for this that I'll be putting in shortly!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions