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

PostCSS 8 compatibility #344

Closed
SimonDesautels opened this issue Jan 18, 2021 · 2 comments · Fixed by #435
Closed

PostCSS 8 compatibility #344

SimonDesautels opened this issue Jan 18, 2021 · 2 comments · Fixed by #435

Comments

@SimonDesautels
Copy link

My rfs package is at version 9.0.3.

I updated PostCSS to version 8 and this is the error I am getting :

postcss-rfs: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration

I guess it's referring to this :

rfs/postcss.js

Line 17 in 1a22aa7

module.exports = postcss.plugin('postcss-rfs', opts => {

Is it planned to support PostCSS 8 in the near future?

@SimonDesautels SimonDesautels changed the title PostCSS 8 : postcss.plugin was deprecated. PostCSS 8 compatibility Jan 18, 2021
@sebastianbaumann
Copy link

+1

"rfs": "^9.0.3" + "postcss": "^8.2.8" => postcss-rfs: postcss.plugin was deprecated.

@stefanoverna
Copy link

This is not just a simple warning, but the package itself is broken with PostCSS v8, and outputs weird CSS rules, especially if using postcss-nested together with it.

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

Successfully merging a pull request may close this issue.

5 participants