shonny-ua / gulp-rev-collector

Static asset revision data collector from manifests, with was generated from different streams and replace they's links in html template.
MIT License
149 stars 41 forks source link

fork and add a param for solve the same name file bug #52

Open leitingdulante opened 6 years ago

leitingdulante commented 6 years ago

replaceShorterPatternsFirst Type : Boolean You set a flag, which will replace shorter patterns first. Default value is false. if there are two file have same name, eg: '/image/my/bg.png' and '/image/bg.png', replaceShorterPatternsFirst set false will cause a problem that those different files direct to same file, set true will solve it.