Closed kristoferjoseph closed 11 years ago
Not by a computer right now but here is some quick and dirty info.
router takes the filepath as input (meaning files/a.js). The output is the filepath we save it as in the zip itself (i.e. if you return src/b.js, we save the content of files/a.js as if it were named src/b.js).
The router is run when saving each and every file you request to be zipped and the file path is relative to where you executed grunt.
I will add some leaner docs later.
Kristofer Joseph notifications@github.com wrote:
Would like to understand better what is possible with the router option.
Thanks!
— Reply to this email directly or view it on GitHub.
Would like to understand better what is possible with the router option.
Thanks!