0.0.3 • Published 7 years ago

gulp-css-preprocessor v0.0.3

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

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