Package Exports
- gulp-clean-css
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-clean-css) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-clean-css
Minify files with CleanCSS
Installation
npm install --save-dev gulp-clean-css
Usage
var minify = require('gulp-clean-css');
gulp.task('compress', function() {
return gulp.src('assets/stylesheets/*.css')
.pipe(minify())
.pipe(gulp.dest('dist'))
});
Credits
This package is heavily inspired (actually it's a clone..) by terinjokes/gulp-uglify.
Also take a look at jonathanepollack/gulp-minify-css. The only reason I made this clone is the fact that Node was throwing some low-level errors..