Closed ebakan closed 9 years ago
This ensures that patterns which are supersets of other patterns get applied first.
For example, with the following manifest.json:
manifest.json
{ "src.js":"src-1234abc.js", "src.js.map":"src-abc1234.js.map" }
If src-1234abc.js has the comment //# sourceMappingURL=src.js.map, we would want to replace it with src-abc1234.js.map, not src-1234abc.js.map, as the current implementation does.
src-1234abc.js
//# sourceMappingURL=src.js.map
src-abc1234.js.map
src-1234abc.js.map
Use version 1.0.1 and have fun! ;)
Thanks! Though I ran into https://github.com/shonny-ua/gulp-rev-collector/issues/15
This ensures that patterns which are supersets of other patterns get applied first.
For example, with the following
manifest.json
:If
src-1234abc.js
has the comment//# sourceMappingURL=src.js.map
, we would want to replace it withsrc-abc1234.js.map
, notsrc-1234abc.js.map
, as the current implementation does.