I'm currently using React 17.0.2 (in create-react-app
environment) and SCSS, and all of a sudden I'm constantly receiving the following warning from React:
Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet.
I haven't updated anything (at least to my knowledge), and the Sass Compiler that I'm using has autoprefixes disabled.
I've tried following all of the answers on this thread: How do I solve "Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet."?
And then running npm update --save
to no avail.
The warning is constantly obfuscating important messages and errors, and is quite a pain to deal with, so all help is appreciated.
Check your built react folder and confirm the CSS file to see if there're vendor prefixes? If so, try something like this:
.b { /* autoprefixer: off */ transition: 1s; }
.
See autoprefixer comment
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With