added minify resource in production mode