I have an Express+React app and I use webpack.
On dev I run "webpack --watch" but before deploying to production, I want to uglify my js.
Currently I uncomment the uglify plugin each time before production deployment.
Can it be done with some parameter passed to webpack command or something?
Thanks, Alex A.