Skip to content

Lonefy/gulp-steel-css-postfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

#gulp-steel-css-postfix

###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 gscp = require('gulp-steel-css-postfix');

gscp({ 
	filter:["lib/*.*","pages/*.*"] 
})

###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($.steelCssPostfix({ 
             filter:["pages/pointsmall/*.*"] 
        }))
	.pipe(gulp.dest(front_base + '/css/'));
}

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

About

a plugin for gulp-steel

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published