Minified the XML resource output when run in production mode