Skip to content

Conversation

@LiJiahaoCoder
Copy link

@LiJiahaoCoder LiJiahaoCoder commented Mar 4, 2021

Some apis of postcss5 have been deprecated, and will console following warning:

postcss-px-to-viewport: postcss.plugin was deprecated.

I upgraded it from postcss5 to postcss8, and test cases are all passed.

The main modifications are to use exports.default = creator instead of exports.default = postcss.plugins(name, creator), and remove var postcss = require('postcss'); in index.js.

@yangmingshan
Copy link

Seems this PR can fix #73 #81 #83, @KODerFunk could you spent a little time to review it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants