How can I customize react-app-rewired config in CRA v5 to add a postcss plugin, for example this one? I checked react-app-rewired
documentation and github issues, but didn't find out how to do that.
Asked
Active
Viewed 1,136 times
1

Matt
- 8,195
- 31
- 115
- 225
1 Answers
1
You can try the react-app-rewire-postcss library that does exactly what you need. There might be issues with PostCSS version, but you can definitely use the library's code as a hint about how what you need can be implemented.

Alex Khismatulin
- 485
- 2
- 3
-
1the last update is 3 years old, but it works! – Matt May 10 '22 at 13:50