0.0.3 • Published 9 years ago

gulp-less-reporter v0.0.3

Weekly downloads
38
License
MIT
Repository
github
Last release
9 years ago

gulp-less-reporter

Build Status npm version

This plugin provide an error reporter for gulp-less. The reporter print like the following:

[12:47:01] gulp-less: variable @undefined-variable is undefined in file somefile.less line no. 2

        1 html {
        2   color: @undefined-variable;
        3 }

Install

  1. Install gulp-less-reporter

    $ npm install --save-dev gulp-less-reporter
  2. Attach the reporter as an error handler for gulp-less

    var reporter = require('gulp-less-reporter');
    
    gulp.task('build', function() {
      gulp.src('somefile.less').
        pipe(less()).on('error', reporter).
        pipe(gulp.dest('/dev/null'));
    });

License

MIT

0.0.3

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago