-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Add dir-dependency
documentation
#1580
Conversation
Is a |
I would say so, yes. Do you think the documentation should mention that? |
It is better to mention. |
Co-authored-by: Andrey Sitnik <andrey@sitnik.ru>
Thanks for the feedback @ai. I have made some changes 👍 |
@mischnic I have opened a pull request for this over on the Parcel repo. |
As discussed in #1537 this pull request adds documentation for a new
dir-dependency
message type that can be used to signify that a plugin depends on the contents of a directory. This would be used in the same way as thedependency
message but with adir
property instead of afile
property:Runners should watch this directory for changes and rebuild the CSS when something changes.
This PR also adds some documentation for the existing
dependency
message to the plugin and runner guides, and clarifies the usage of dependency messages in the "Writing a PostCSS Plugin" documentation.