-
Notifications
You must be signed in to change notification settings - Fork 405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: are underscore-prefixed directories invalid? #408
Comments
This code is in here because I thought it was on spec - but now I cannot find reference to it either. @dmolsen am I mistaken? |
I would have said it was on spec but I can't find it in my code. Adding an |
I feel it would be appropriate to hide underscore-prefixed directories in the UI, but the code as it is completely ignores them. I would like to be able to continue processing them whether in PHP or in Node. |
That would be similar to how underscores work now for individual patterns. Marked hidden for nav purposes but still available to include elsewhere.
|
Implemented in |
@bmuenzenmeyer @dmolsen
https://github.com/pattern-lab/patternlab-node/blob/master/core/lib/patternlab.js#L39
https://github.com/pattern-lab/patternlab-node/blob/master/core/lib/patternlab.js#L63
These two lines of code will cause Pattern Lab Node to not process files in underscore-prefixed directories. I've read through the official Pattern Lab docs and haven't found a mention of this. I've also had directories of this convention processed normally in Pattern Lab PHP, albeit in v1.x.x. Could you let me know if this condition is necessary? Because I'd like to be able work without this restriction.
The text was updated successfully, but these errors were encountered: