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
150 stars 41 forks source link

如果有字体文件为woff 和woff2,替换会出问题 #16

Closed changfuguo closed 9 years ago

changfuguo commented 9 years ago

有两个字体文件分别为 woff 和woff2

json里面的key应该按照 当前key对应的文件名的长度来排序下~否则woff2 被woff对应的key替换掉

changfuguo commented 9 years ago

你已经解决了~哈哈