Sha256: fc00d0c683bae53920e236b639539637b5141ae4c643593e40f4c31935fd1f7c

Contents?: true

Size: 796 Bytes

Versions: 3

Compression:

Stored size: 796 Bytes

Contents

var gulp = require('gulp'),
    rename = require('gulp-rename'),
    sass = require('gulp-sass'),
    postcss = require('gulp-postcss'),
    autoprefixer = require('autoprefixer')({ browsers: ['last 2 versions'] }),
    clone = require('gulp-clone'),
    minify = require('gulp-minify-css'),
    concat = require('gulp-concat');

module.exports = function () {
    var stream = gulp.src('src/sass/*.scss')
        .pipe(concat('datepicker.scss'))
        .pipe(sass().on('error', sass.logError))
        .pipe(postcss([autoprefixer]));

    stream.pipe(clone())
        .pipe(minify())
        .pipe(rename('datepicker.min.css'))
        .pipe(gulp.dest('dist/css'));

    stream.pipe(clone())
        .pipe(rename('datepicker.css'))
        .pipe(gulp.dest('dist/css'))
};

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sample_filter-0.1.4 spec/dummy/node_modules/air-datepicker/tasks/css.js
sample_filter-0.1.3 spec/dummy/node_modules/air-datepicker/tasks/css.js
sample_filter-0.1.2 spec/dummy/node_modules/air-datepicker/tasks/css.js