Skip to content

tamtakoe/gulp-css-preprocessor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-css-preprocessor NPM version

Less/Scss/Sass/Stylus plugin for gulp. It uses a suitable preprocessor for files based on their extensions

Install with npm

npm install gulp-css-preprocessor

Usage

gulp.src('styles/**/*')
    .pipe(gulpCssPreprocessor())
    .pipe(gulpConcatCss('style.css'))
    .pipe(gulp.dest('compiled/styles'));

API

gulpCssPreprocessor(params)

params

Object with the following parameters

less

Type: Object

Params for process .less files by less-preprocessor

scss

Type: Object

Params for process .scss files by scss-preprocessor

sass

Type: Object

Params for process .sass files by scss-preprocessor

Note: .sass process by scss-preprocessor with option indentedSyntax: true

stylus

Type: Object

Params for process .styl files by stylus-preprocessor

License

© Oleg Istomin 2015. Released under the MIT license

About

Less/Scss/Sass/Stylus plugin for gulp based on file extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published