-
Notifications
You must be signed in to change notification settings - Fork 405
Closed
Milestone
Description
According to the docs, if you append an underscore (_) to the pattern name it should "no longer show up in the drop-down navigation, the media pattern sub-type "view all" page, nor the style guide".
However, if you do this in patternlab-node the pattern still shows up in the "view all" page. I fixed this in my local copy by editing /builder/patternlab_assembler.js and adding this check around line 107:
// ignore files prepended with _
if(filename[0] == '_'){
return;
}
Should I do a PR with this change?