Q
Q
qfrontend2019-04-30 13:04:30
JavaScript
qfrontend, 2019-04-30 13:04:30

How to add Autoprefixer to Create-react-app?

Greetings) How to add Autoprefixer to Create-react-app?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ro37A, 2019-04-30
@qfrontend

Autoprefixer is enabled by default in CRA. You can customize it by specifying browserslist in the package.json file. By default it has the following values

> 0.5%, last 2 versions, Firefox ESR, not dead

M
m_frost, 2019-04-30
@m_frost

The first link to Google, if you are very lazy or cannot speak English, then I will explain Autoprefixer in CRA out of the box, you just need to tweak the browsers you need in the browser list.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question