Closed
requested to merge github/fork/Andarist/webpack-dev-config/respect-generate-sourcemap into master
Created by: Andarist
Personally I hate source maps - because I use dev tools heavily and they just bring too much of a disconnect between what's in them and what actual code gets shipped to the browser. I often evaluate expressions in the console and I just easily look up REAL identifiers, cause all I see are mapped identifiers. This provides a terrible debugging experience for me and I always chose not to use source maps.
You already respect (for other reasons) this env variable in production config and I literally dont see any con against respecting it in dev mode too.
How did I verify my change? I've ejected in the project created with latest create-react-app, done the same changes locally and verified that it works.