postcss-svg
postcss-svg copied to clipboard
svg() or url() ?
The documentation on http://pavliko.github.io/postcss-svg/ indicates that the plugin uses an svg()
function for replacement, but this documentation (and the plugin itself) uses url()
.
The website also indicates this function name is configurable, which it is not. I really wish this could be configured so I could use svg()
and leave native url()
functions unaltered.
@keithjgrant, this is an artifact of the old version of postcss-svg, and I’m sorry for not updating that old gh-pages site. Thanks for bringing this to my attention.
Separately, I think we can make the function name configurable again.
This is really 2 issues:
- A Bug Report: the website describes defunct functionality.
- A Feature Request: configure the function name.