Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How can a grunt plugin wrap another plugin

How can a grunt plugin wrap another plugin

Problem

I was wondering how a Grunt Plugin could wrap around another.

For example, a Plugin could set some parameter and pass them while running the other Grunt task.

Problem courtesy of: Simon Boudrias

Solution

See How can I share parameters across multiple tasks? in the docs.

Solution courtesy of: Sindre Sorhus

Discussion

View additional discussion.



This post first appeared on Node.js Recipes, please read the originial post: here

Share the post

How can a grunt plugin wrap another plugin

×

Subscribe to Node.js Recipes

Get updates delivered right to your inbox!

Thank you for your subscription

×