l0-gulp-css-wrap

0.1.3 • 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 l0-gulp-css-wrap

Weekly Downloads

1

Version

0.1.3

License

ISC

Last publish

Collaborators

  • lukasstankiewicz