css-vip plugin for gulp
Sometimes, you need to override all css rules with !important
(e.g. when writing embeddable widgets).
gulp-css-vip automatically adds to all your css rules automatically, so you don't have to.
First, install gulp-css-vip
as a development dependency:
npm install --save-dev gulp-css-vip
Then, add it to your gulpfile.js
:
var cssVip = require("gulp-css-vip");
gulp.src("./src/*.ext")
.pipe(cssVip())
.pipe(gulp.dest("./dist"));
- joshuahatcher/grunt-important-css Original Grunt plugin