postcss / postcss-url

PostCSS plugin to rebase url(), inline or copy asset.
MIT License
377 stars 59 forks source link

hash option to include the original name for ease of debugging #122

Closed spion-h4 closed 6 years ago

spion-h4 commented 6 years ago

before: images/sprite.png

after: img/a2ds3kfu-sprite.png

davidtheclark commented 6 years ago

@spion-h4 I found this functionality available in the hashOptions property append: https://github.com/postcss/postcss-url#append

spion-h4 commented 6 years ago

Perfect, thanks.