gulp-css-wrap

0.1.2 • Public • Published

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'));
});

Readme

Keywords

Package Sidebar

Install

npm i gulp-css-wrap

Weekly Downloads

495

Version

0.1.2

License

none

Last publish

Collaborators

  • atskimura