'use strict';

var gulp = require('gulp'),
    config = require('../../config'),
    postcss = require('gulp-postcss'),
    colorguard = require('colorguard'),
    filterstream = require('postcss-filter-stream'),
    scss = require('postcss-scss');

module.exports = function () {
    return gulp
        .src(config.src.styles)
        .pipe(postcss([
            filterstream('**/node_modules/**', colorguard())
        ], {syntax: scss}));
};

'use strict';

var gulp = require('gulp'),
    config = require('../../config'),
    postcss = require('gulp-postcss'),
    colorguard = require('colorguard');

module.exports = function () {
    return gulp
        .src(config.src.css)
        .pipe(postcss([colorguard()]));
};

Fix source for task and remove SCSS syntax support