0.0.2 • Published 9 years ago

gulp-dss-annotation v0.0.2

Weekly downloads
1
License
GPL
Repository
github
Last release
9 years ago

gulp-dss-annotation

Annotate files in Gulp streams with DSS.

Usage

A gulpfile may compile all scss files like so:

var gulp = require('gulp'),
    dssAnnotation = require('gulp-dss-annotation'),
    sass = require('gulp-sass');


gulp.task('default', function () {
  gulp.src('src/*.scss')
    .pipe(dssAnnotation())
    .pipe(sass())
    .pipe(gulp.dest('public'));
});

All file arguments passed into plugins after dssAnnotation would have an object attached to them called annotations. This object will contain all annotations from DSS, merged into a single object. This will also merge any annotations into a "annotations" variable in gulp-data.