You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 649B

123456789101112131415161718192021222324252627282930
  1. gulp-uglifycss
  2. ==============
  3. Gulp plugin to use [UglifyCSS](https://github.com/fmarcia/UglifyCSS).
  4. [![Build Status](https://travis-ci.org/ubirak/gulp-uglifycss.svg?branch=master)](https://travis-ci.org/ubirak/gulp-uglifycss)
  5. ## Install
  6. ```
  7. npm install --save gulp-uglifycss
  8. ```
  9. ## Usage
  10. ```javascript
  11. var uglifycss = require('gulp-uglifycss');
  12. gulp.task('css', function () {
  13. gulp.src('./styles/**/*.css')
  14. .pipe(uglifycss({
  15. "maxLineLen": 80,
  16. "uglyComments": true
  17. }))
  18. .pipe(gulp.dest('./dist/'));
  19. });
  20. ```
  21. ## Options
  22. No specific options. You can use all the [UglifyCSS](https://github.com/fmarcia/UglifyCSS) options.