/* eslint-disable import/no-extraneous-dependencies */
// Matching bootstraps level of browser compatibility except for:
//
// - no support for IE8
//
// @see https://github.com/twbs/bootstrap-sass#d-npm--nodejs
// @see http://getbootstrap.com/getting-started/#support
const autoprefixer = require('autoprefixer')({
    browsers: [
        'Android 2.3',
        'Android >= 4',
        'Chrome >= 20',
        'Firefox >= 24',
        'iOS >= 6',
        'Opera >= 12',
        'Safari >= 6'
    ]
});
const cssnano = require('cssnano')();
const cssstats = require('cssstats')();
const statsReporter = require('postcss-stats-reporter')();

const src = '<%= dst %>/css/*.css';

module.exports = {
    dev: {
        src,
        options: {
            map: {
                inline: false
            },
            processors: [
                autoprefixer
            ]
        }
    },
    prod: {
        src,
        options: {
            processors: [
                autoprefixer,
                cssnano,
                cssstats,
                statsReporter
            ]
        }
    }
};
        'Explorer >= 11',