We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 869e147 commit 9f5c4abCopy full SHA for 9f5c4ab
README.md
@@ -50,9 +50,9 @@ let cleanCSS = require('gulp-clean-css');
50
51
gulp.task('minify-css', () => {
52
return gulp.src('styles/*.css')
53
- .pipe(cleanCSS({debug: true}, function(details) {
54
- console.log(details.name + ': ' + details.stats.originalSize);
55
- console.log(details.name + ': ' + details.stats.minifiedSize);
+ .pipe(cleanCSS({debug: true}, (details) => {
+ console.log(`${details.name}: ${details.stats.originalSize}`);
+ console.log(`${details.name}: ${details.stats.minifiedSize}`);
56
}))
57
.pipe(gulp.dest('dist'));
58
});
0 commit comments