Answer the question
In order to leave comments, you need to log in
Why doesn't autoprefixer work for scss modules in React?
Good afternoon! I recently started learning react and I have a question. I use css modules to style the site, but I write them in scss, thanks to the scss => css compiler. But for some reason, the autoprefixer doesn't change the styles, and I see exactly the same thing in the browser as in the code editor. Help me to understand.
This is what browserslist looks like in the package.json file:
"browserslist": {
"production": [
"cover 99.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 2 chrome version",
"last 2 firefox version",
"last 2 safari version"
]
},
"devDependencies": {
"css-loader": "^6.4.0",
"sass-loader": "^12.2.0",
"style-loader": "^3.3.0"
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question