2

Greetings, time traveller. We are in the golden age of prefix-less CSS, where Autoprefixer is no longer needed for your stylesheet.

Other solution talk about updating the docs directly but that didn't work, plus this is a create-react-app, is there a way for that?

Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
  • Does this answer your question? [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."?](https://stackoverflow.com/questions/62883240/how-do-i-solve-greetings-time-traveller-we-are-in-the-golden-age-of-prefix-le) – Mahan Vyakti Jun 16 '21 at 12:25

1 Answers1

4

Update the react-scripts used by create-react-app script for that project with

npm install react-scripts@latest

For NEW applications this is not a problem as

npx create-react-app my-app

will get the latest react-scripts version

So basically this is only a problem for older create-react-app version (i.e. all apps as they age).

Michael Durrant
  • 93,410
  • 97
  • 333
  • 497