In my React project using create-react-app:
index.js
...
import "@mock/style/css/mock.css";
I am looking to modify all css selectors in the above file by adding a prefix. What is the most effective way to accomplish this task? Should I utilize a tool like <code>postcss-prefix-selector
or Autoprefixer
? Do I need to adjust the Webpack
configuration? Unsure of the best approach and how to implement it...