Nocturnal Pumpkin Maelstrom

    gulp-css-preprocessor

    0.0.3 • Public • Published

    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

    Install

    npm i gulp-css-preprocessor

    DownloadsWeekly Downloads

    3

    Version

    0.0.3

    License

    MIT

    Last publish

    Collaborators

    • tamtakoe