Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sindresorhus/gulp-strip-css-comments

Strip comments from CSS
https://github.com/sindresorhus/gulp-strip-css-comments

css gulp-plugin javascript nodejs strip-comments

Last synced: about 1 month ago
JSON representation

Strip comments from CSS

Awesome Lists containing this project

README

        

# gulp-strip-css-comments

> Strip comments from CSS using [`strip-css-comments`](https://github.com/sindresorhus/strip-css-comments)

## Install

```sh
npm install --save-dev gulp-strip-css-comments
```

## Usage

```js
import gulp from 'gulp';
import stripCssComments from 'gulp-strip-css-comments';

export default () => (
gulp.src('src/app.css')
.pipe(stripCssComments())
.pipe(gulp.dest('dist'))
);
```

## stripCssComments(options?)

### options

Type: `object`

See the `strip-css-comments` [options](https://github.com/sindresorhus/strip-css-comments#options).