0.0.4 • Published 8 years ago

gulp-steel-css-fix v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

#gulp-steel-css-fix

Use to fix css rules

###Usage

use glob pattern to filter your file path;

the filter could also be Array or String, like:

{filter:["pages/*.*"]} 
{filter:"lib/*.*"}

In your steel-gulpfile, you can use in this way:

var gscf = require('gulp-steel-css-fix');

gscf({ 
    prefix: true,//bool
    filter:["lib/*.*","pages/*.*"]//Array or String 
})

###Example If your file path is "src/css/pages/pageA.css", the filter(sub-path) pattern should be "pages/.", like:

function testCss(){
 	gulp.src(['src/css/**/*.*'])
        .pipe($.steelCssfix({
             prefix: true, 
             filter:["pages/pointsmall/*.*"] 
        }))
	.pipe(gulp.dest(front_base + '/css/'));
}

in the function testCss, the whole file path is "src/css/pages/pointsmall/."

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago