Actually, I'm developing a React App and I'm using React Script 2.0 to build it. The weird thing is after I compiled with the react-scripts build command and serve the app with Nginx I'm still allowed to check the state with React Dev Tools, also if I go to Source in Chrome I can see my components as if they weren't compiled.
Does anyone know what I'm doing wrong?
Just add GENERATE_SOURCEMAP=false
in you .env
file then it will stop making *.map
files and browser will not show folders in source tab
Run this command for create .env file and write GENERATE_SOURCEMAP=false in itecho GENERATE_SOURCEMAP=false > .env
Happy coding...!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With