we are using create react app and converted the source js files into chunks. but I can see that chrome inspect source tab shows the actual code. Is this expected behavior ? Or is there any build configuration that I need to configure to that further ? I have attached an image of the result.
The source code what you see is loaded from the map files as you can see it from the console
You can remove map files from your production server.
Add GENERATE_SOURCEMAP=false
in your .env file, so build will not create map files
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