postcss-encode-background-svgs
Version:
PostCSS plugin to urlencode background svgs
36 lines (19 loc) • 781 B
Markdown
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
1.0.3 - 2018-03-16
* Updated REGEX to take into account both double and single quote marks
1.0.2 - 2018-03-16
* Updated encoded REGEX detection to take into account an already optimised encoded SVG
1.0.1 - 2018-02-21
* Ensured input SVG is valid
1.0.0 - 2018-01-03
* Wrote test to check for inline styles
* Correctly throw errors if SVG is invalid
0.0.9 - 2017-12-08
* Fixed quote marks bug
0.0.7 - 2017-11-29
* [Better way](https://codepen.io/tigt/post/optimizing-svgs-in-data-uris) to encode SVG thanks to [retyui](https://github.com/retyui) for the spot
0.0.4 - 2017-10-27
* Fixes bug where if SVG is already encoded, plugin doesn't throw error
0.0.0 - 2017-10-26
* Initial release