-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
fix(v2): update postcss to 8.x and adapt custom plugins #4404
Conversation
[V1] Deploy preview failure Built without sensitive environment variables with commit 4dd86b2 https://app.netlify.com/sites/docusaurus-1/deploys/605adcb97e9e3a000708942f |
Deploy preview for docusaurus-2 failed. Built without sensitive environment variables with commit c812127 https://app.netlify.com/sites/docusaurus-2/deploys/604acaded7310900075c72b9 |
Deploy preview for docusaurus-2 failed. Built without sensitive environment variables with commit 4dd86b2 https://app.netlify.com/sites/docusaurus-2/deploys/605adcb9785f6f000711225f |
Have you considered getting rid of |
@ludofischer yep, we don't actually support IE11, so previously I replaced postcss-preset-env with autoprefixer. So if preset-env is not needed for CSS optimization (in advanced preset), then we can get rid of it, I guess. |
Looking at the list of plugins in |
13b1672
to
75ae299
Compare
This comment has been minimized.
This comment has been minimized.
postponed until #4089 is merged |
@armano2 going to merge the webpack5 migration soon early next week, and would like to have postcss8 asap once it's merged, do you want to re-open your PR next week or I do it myself based on your suggestions? |
Nevermind, actually had to support postcss8 in #4089 |
Motivation
Update postcss and all packages that depends on it to version 8.
this change is applied only to v2
This PR is not finished yet as its currently blocked by
Have you read the Contributing Guidelines on pull requests?
yes
Test Plan
validate if new plugin is working by creating rtl version in preview
check if styles still work correctly