Use minify Class to minify in guard