postcss-svg icon indicating copy to clipboard operation
postcss-svg copied to clipboard

svg() or url() ?

Open keithjgrant opened this issue 6 years ago • 1 comments

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 avatar May 15 '18 16:05 keithjgrant

@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:

  1. A Bug Report: the website describes defunct functionality.
  2. A Feature Request: configure the function name.

jonathantneal avatar May 15 '18 16:05 jonathantneal