You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the [`CleanCSS` options](https://github.com/jakubpawlowicz/clean-css#how-to-use-clean-css-api).
30
30
31
31
```javascript
32
-
let gulp =require('gulp');
33
-
let cleanCSS =require('gulp-clean-css');
32
+
constgulp=require('gulp');
33
+
constcleanCSS=require('gulp-clean-css');
34
34
35
35
gulp.task('minify-css', () => {
36
36
returngulp.src('styles/*.css')
@@ -44,8 +44,8 @@ gulp.task('minify-css', () => {
44
44
Useful for returning details from the underlying [`minify()`](https://github.com/jakubpawlowicz/clean-css#using-api) call. An example use case could include logging `stats` of the minified file. In addition to the default object, `gulp-clean-css` provides the file `name` and `path` for further analysis.
0 commit comments