patternlab-php-core
patternlab-php-core copied to clipboard
Support Array for `patternDir`
sourceDir
(or sourceDirs
) should be able to be defined as an array as a package creator may place assets in different locations.
Been wanting this for awhile; it'd be really helpful! Wouldn't we want an array of source/_patterns/
directories though? An array of sourceDir
s could result in multiple _data/data.json
s; how would that get handled, merging?
You're correct. I've updated the title of the ticket to reflect that. Just got focused on the *Dir
options that are available and patternDir
isn't among them. Guess it needs to be :)
@EvanLovely need any help tackling this?
@sghoweri Sure! I feel like #35 is a prerequisite though.
@EvanLovely Ohhhh sorry - missed that. Need help on that one then?
@sghoweri Would love it! Got a PR started: #152