I want to debug my react application in production enviroment. Using devtool: 'source-map' I am able to see all the source code in webpack directory. I dont want anyone to looking into my code in production enviroment.
Is there any way I can make devtool: false initially and by using some url params like enableDebug=true it will change to devtool: 'source-map'