l0-gulp-css-wrap
v0.1.3
Published
Wrap CSS rules in a namespace
Downloads
1
Readme
gulp-css-wrap
gulp plugin to wrap CSS rules in a namespace, using css-wrap
Installation
Install package with NPM and add it to your development dependencies:
npm install --save-dev gulp-css-wrap
Usage
Options are directly passed to the css-wrap constructor so all the css-wrap options are available.
var cssWrap = require('gulp-css-wrap');
gulp.task('css-wrap', function() {
return gulp.src('src/*.css')
.pipe(cssWrap({selector:'.my-app'}))
.pipe(gulp.dest('dist'));
});