made it so that the minifier only performs the minification when running in production