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
feat: upgrade to postcss@8 #11
Conversation
BREAKING CHANGE: Require postcss@8
"cssnano-preset-simple": "^2.0.0" | ||
}, | ||
"peerDependencies": { | ||
"postcss": "^8.2.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
v8.2.2 is needed (i think): see postcss/postcss#1485
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Timer/cssnano-preset-simple@42a4d11 is using ^8.2.8
@stefanprobst
This would prevent Next.js apps from complaining about CVE-2021-23368. Snyk report: https://snyk.io/vuln/SNYK-JS-POSTCSS-1090595 |
} | ||
|
||
module.exports = postcss.plugin('cssnano-simple', (opts = {}) => { | ||
module.exports = (opts = {}) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes were too much.
We need to check all the functionality in my opinion.
This looks great to me, thanks! |
🎉 This PR is included in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
closes #10
closes vercel/next.js#23620
this updates postcss to v8