In a React app, how can I disable classname obfuscation for development only?
I want to see the following only in production build, but in the development when I run "npm start" I want to see the classnames unobfuscated.
<div class="sc-kYrkKh bteCVQ">
Reason: when i want to look at an html element in the browser, I want to be able to easily see the component name.
I have seen this (ie. classname confuscation on production only) in multiple projects, but I did not configure it myself, and I don't know/remember how it's done.
In my current specific case (=project) we are using styled components, but perhaps it doesn't matter.