Closed mrkipling closed 9 years ago
Hi - any word on this?
I needed to add this feature in order to get sourcemaps+cachebusting working for our build. Am currently using our fork but it would obviously be good if it were merged.
I like this implementation, it seems flexible and is pretty easy to understand. If you can add tests, I'd be happy to merge it.
Sorry for the delay - have just pushed some tests that check modifyReved and modifyUnreved work as expected.
Thanks, merged!
Thanks!
Would it be possible to update this on npm? Or is that an automatic process? (I don't have much experience publishing to npm myself)
It totally slipped my mind, thanks for reminding me. I've just published 0.4.2.
Excellent, thank you.
This PR adds two new options:
modifyReved
andmodifyUnreved
.I have updated the README to explain in more detail what is happening here. There are only a few new lines of code so hopefully they should be fairly self-explanatory.