Uh oh!
There was an error while loading. Please reload this page.
Update to PostCSS 8 - #9716
Conversation
piecyk
commented
Oct 1, 2020
Would be awesome if update to PostCSS 8 would be released with support for custom config #8907 🤞 |
Mancancode
commented
Nov 16, 2020
hello has the issue with postCSS 8 on '' Create react app '' fix ? because am still getting errors when i run "npm run build ". 👇🏿👇🏿👇🏿👇🏿👇🏿👇🏿 C:\Users\cilium\Desktop\ebuka\webdev\tailwindCSS> npm run build
Error: PostCSS plugin autoprefixer requires PostCSS 8. npm ERR! A complete log of this run can be found in: |
clarkd
commented
Nov 20, 2020
Changes look good (approving), but the tests seem a bit broken? |
ai
commented
Nov 20, 2020
@clarkd it was some unrelated error, but for some reason log was already cleaned. Seems like PR review took too long for CI. |
andremonteiro95
commented
Nov 23, 2020
@iansu is there a release date for the 4.0.2 milestone? |
andremonteiro95
commented
Nov 28, 2020
The build was failing for me, updating the packages wasn't enough. I had to change the Webpack config to reflect postcss-loader changes, wrapping up some of the options in the {// Options for PostCSS as we reference these options twice// Adds vendor prefixing based on your specified browser support in// package.jsonloader: require.resolve('postcss-loader'),options: {postcssOptions: {// Necessary for external CSS imports to work// https://github.com/facebook/create-react-app/issues/2677ident: 'postcss',plugins: ()=>[require('postcss-flexbugs-fixes'),require('postcss-preset-env')({autoprefixer: {flexbox: 'no-2009',},stage: 3,}),// Adds PostCSS Normalize as the reset css with default options,// so that it honors browserslist config in package.json// which in turn let's users customize the target behavior as per their needs.postcssNormalize(),],},sourceMap: isEnvProduction ? shouldUseSourceMap : isEnvDevelopment,},}, |
ianschmitz
commented
Dec 8, 2020
@ianschmitz when do you plan to release it? I need to add instructions for PostCSS migration docs. |
@ai this doesn't work for me. still getting the error: |
ai
commented
Mar 14, 2021
@JimLynchCodes ask CRA team. not me. They didn’t merged my PR and still do not have PostCSS 8 support #10003 |
OmerWow
commented
Mar 16, 2021
@ianschmitz any news regarding this? |
raix
commented
Mar 16, 2021
goforbg
commented
Apr 9, 2021
Anyone else following this up? |
LiamBCN
commented
May 1, 2021
any news regarding this? |
agusterodin
commented
May 1, 2021
I really hate to add to the noise but to answer the question of why this probably isn't released: webpack 5 support is being worked on as well (see pinned issue). I would imagine that they want to finish that before pushing a new version of react scripts so breaking changes are consolidated. |
jetro4u
commented
Aug 9, 2021
When will this issue be fixed with CRA? |
raix
commented
Aug 9, 2021
released in v5 alpha |
hegelstad
commented
Aug 21, 2021
@raix react-scripts 5? or webpack 5? this thread is about postcss 8 support in react-scripts |
raix
commented
Aug 21, 2021
CRA v5 (currently in alpha, the postcss 8 upgrade was a major version due to node 10 deprecation, therefor it was moved to v5, along webpack 5, node 10+12 deprecation etc.) |
iiLearner
commented
Sep 6, 2021
are there any plans for this? |
UltiRequiem
commented
Oct 30, 2021
Bump |
chenrico
commented
Dec 9, 2021
tailwindcss 3.0.0 is on postcss 8! Please support! |
kevinstueber
commented
Dec 10, 2021
Yes, please! Tailwindcss 3.0 requires postcss 8. |
Aspyryan
commented
Dec 10, 2021
Please support this for tailwindcss 3.0.0 |
billshannon
commented
Dec 11, 2021
Please support this must have! |
hugovdev
commented
Dec 12, 2021
Tailwindcss 3.0.0 is on PostCSS 8! Please support! |
raix
commented
Dec 12, 2021
cheesea3
commented
Dec 13, 2021
Please support PostCSS for TailwindCSS 3.0. |
MikePrus
commented
Dec 13, 2021
We need PostCSS for TailwindCSS 3.0. Definitely need to support |
michaelschadhauser
commented
Dec 19, 2021
Please support PostCSS for TailwindCSS 3.0. |
karlhorky
commented
Dec 19, 2021
To everyone coming here for Tailwind CSS / PostCSS support, the new version ( Read about the new version and how to upgrade here: https://github.com/facebook/create-react-app/releases/tag/v5.0.0 |
Fixed#9664
postcss-loader4.0 moved PostCSS topeerDependencies