-
Notifications
You must be signed in to change notification settings - Fork 93
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
Adds nested directory output using option --inputContext #31
Conversation
If
|
Sorry, ignore that. I wasn't understanding the meaning of context. |
test-replace \ | ||
test-local-plugins | ||
# $(patsubst %,test/build/%.css,$(TESTS)) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vbalcom Why is this commented out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had commented the line out because it was failing (and failing fast), therefore not reaching my new test task. This shouldn't have made it into the commit. I'll un-comment the line and update my pull request. Thanks for catching it!
@vbalcom There is a typo in the commit message for 5fc007e6d6bab:
Perhaps this should be squashed into one or two commits. |
@RyanZim Agreed, I'll spruce this up and re-submit a pull request this evening. |
If you can figure out what's causing the tests to fail, that would be great. |
… output dir will represent nested folder structures found from a blobbed input.
This looks like the missing feature I was looking for in the CLI. |
@Hirse We are currently in the middle of a full rewrite of the codebase for v3. This feature will have to be totally reimplemented for the v3 codebase. I haven't closed this PR as a reminder to consider porting this to v3+ |
Do you have an estimated release date for v3? I would really love to have this feature, as my decision to use postcss for an Angular 2 project (which has distributed CSS in the folder hierarchy) depends on it. |
@Hirse I hate to set a date for it, but you can track progress here: https://github.com/postcss/postcss-cli/projects/1 & https://github.com/postcss/postcss-cli/milestone/1. Probably early February, though. |
Any news on this? I would really love to use this feature. |
@mstoltenburg We need to add this ability, and |
Superseded by #121 |
--inputContext
: Optional declaration of parent folder for input when--dir
is used and an input glob may return nested directories. When applied,--input
glob will be relative to--inputContext
and folder structure inside--inputContext
will be mimicked in--dir