Skip to content

.yaml and .yml support for pseudo patterns. #922

@madhaze

Description

@madhaze

I am using Pattern Lab Node 2.0.0 on Linux, with Node v6.12.3, using a Grunt Edition.

Expected Behavior

Tried using pseudo patterns with .yaml/.yml files. Only looks to work with .json files.

Looking farther, I found where this is controlled:

currentPattern.subdir + '/' + currentPattern.fileName + '~*.json';

Seems like .yaml and .yml files should also be supported.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions