Skip to content

sindresorhus/gulp-strip-css-comments

Repository files navigation

gulp-strip-css-comments

Strip comments from CSS using strip-css-comments

Install

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

Usage

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.