Open kmeht opened 6 years ago
The config is set up to only minify in prod right now. This is the relevant part:
if (process.env.NODE_ENV === 'production') { plugins.push( new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false, }, mangle: true, }) ); }
I just loaded the app and it doesn't appear that we're minifying our JS code. Perhaps we forgot a config option in our build step? I know for certain that we used to do this back when we were using django-pipeline.