Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to postcss8 #87

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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.

None yet

2 participants