Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/sindresorhus/gulp-strip-css-comments
- Owner: sindresorhus
- License: mit
- Created: 2014-10-22T22:36:12.000Z (about 10 years ago)
- Default Branch: main
- Last Pushed: 2023-11-01T18:57:36.000Z (about 1 year ago)
- Last Synced: 2024-04-14T06:09:32.741Z (7 months ago)
- Topics: css, gulp-plugin, javascript, nodejs, strip-comments
- Language: JavaScript
- Size: 7.81 KB
- Stars: 29
- Watchers: 6
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
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).