Reputation: 91
It seems that when I run yarn build on the project created by create-react-app the chunk.js files will contain my original source and one can simply look at my code logic in pretty format in chrome's devtools. Am I missing something? For example look at this test website I have: https://alisalimi25.github.io/
Upvotes: 0
Views: 256
Reputation: 514
Following this documentation, you should create a file named '.env' at root location, after that add "GENERATE_SOURCEMAP=false" to this file.
Hope it useful to you!
Upvotes: 1