zoubin / browserify-postcss

transform contents using postcss
19 stars 10 forks source link

Postcss version is out of date #10

Closed gryphonmyers closed 6 years ago

gryphonmyers commented 6 years ago

When trying to use the transform with postcss-cssnext, I get the following error:

Node#after is deprecated. Use Node#raws.after
Your current PostCSS version is 5.2.18, but postcss-nesting uses 6.0.14. Perhaps this is the source of the error below.
TypeError: node.parent.after is not a function while parsing file: ...

Not sure if this will involve any API changes or the version just needs to be upped.

zoubin commented 6 years ago

postcss is upgraded to 6 in 0.4.0