Pavliko / postcss-svg

PostCSS plug-in which to insert inline SVG to CSS and allows you to manage it colors.
http://pavliko.github.io/postcss-svg/
Creative Commons Zero v1.0 Universal
124 stars 23 forks source link

Update to PostCSS 5.0.0 #13

Closed ai closed 9 years ago

ai commented 9 years ago

@Pavliko

ai commented 9 years ago

https://github.com/postcss/postcss/releases/tag/5.0.0

ai commented 9 years ago

Ping :)

sc0rp10 commented 9 years ago

+1 @Pavliko

TrySound commented 9 years ago

/cc @Pavliko

Pavliko commented 9 years ago

Now I just updated version dependencies and version of the module. It's enough? Sorry for the stupid question 😳@ai

ai commented 9 years ago

@Pavliko also there are a API changes https://github.com/postcss/postcss/releases/tag/5.0.0

Like eachDecl → walkDecls

ai commented 9 years ago

Also please replace

console.info "postcss-svg: #{error}"

to

decl.warn(result, "postcss-svg: #{error}")

It is part of guidelines https://github.com/postcss/postcss/blob/master/docs/guidelines/plugin.md