DEV Community

Discussion on: Hide Your Source Code from Developer Tools while using React

Collapse
 
vaibhavpandeyvpz profile image
Vaibhav Pandey

There's is nothing wrong in building it in production. You ideally should build it, you can't use development sourcemaps to trace errors in production builds. The key is to exclude them from the publishing part.