Use Matchdep module to load installed Grunt plugins
|Reported by:||jorbin||Owned by:||koopersmith|
This was originally reported by @kadamwhite over on github for the temp install. His quote is:
"Calling loadNpmTasks for each Grunt plugin installed is duplicative, so Tyler Kellen created a matchdep package to allow Grunt to piggyback on the list of Grunt plugins saved in package.json. Using this module reduces boilerplate and makes it more obvious the package.json is the canonical list of installed plugins. Tyler's a Grunt team member and Ben's endorsed the syntax, so it's an officially-sanctioned approach.
@aaronjorbin alerted me to this syntax, and it's been a huge help wherever I use Grunt. My devil's advocate response to this PR would be concern about adding yet another external module dependency vs using the more-verbose-but-honestly-what-are-ten-lines-among-friends Grunt-native syntax, but I think the clarity could be helpful."
Change History (12)
- Milestone changed from Awaiting Review to 3.7
- Owner set to koopersmith
- Status changed from new to assigned