import postcssImport from 'postcss-import';
import postcssFor from 'postcss-for';
import postcssEach from 'postcss-each';
import postcssSimpleVars from 'postcss-simple-vars';
import postcssCalc from 'postcss-calc';
import postcssExtend from 'postcss-extend';
import postcssColorFunction from 'postcss-color-function';
import postcssCustomMedia from 'postcss-custom-media';
import postcssNested from 'postcss-nested';
import postcssMixins from 'postcss-mixins';
import autoprefixer from 'autoprefixer';
import lost from 'lost';
import cssnano from 'cssnano';

import defaults from '../src/css/defaults.json';

export default [
  postcssImport,
  postcssMixins,
  postcssEach,
  postcssFor,
  postcssSimpleVars({
    variables: defaults
  }),
  postcssCalc({mediaQueries: true}),
  postcssNested,
  postcssExtend,
  postcssColorFunction,
  postcssCustomMedia,
  autoprefixer({
    browsers: ['last 3 versions']
  }),
  lost,
  cssnano
];

import postcssImport from 'postcss-import';
import postcssFor from 'postcss-for';
import postcssEach from 'postcss-each';
import postcssSimpleVars from 'postcss-simple-vars';
import postcssCalc from 'postcss-calc';
import postcssExtend from 'postcss-extend';
import postcssColorFunction from 'postcss-color-function';
import postcssCustomMedia from 'postcss-custom-media';
import postcssNested from 'postcss-nested';
import postcssMixins from 'postcss-mixins';
import autoprefixer from 'autoprefixer';
import lost from 'lost';
import cssnano from 'cssnano';

import defaults from '../src/css/defaults.json';

export default [
  postcssImport,
  postcssMixins,
  postcssEach,
  postcssFor,
  postcssSimpleVars({
    variables: defaults
  }),
  postcssCalc({mediaQueries: true}),
  postcssNested,
  postcssExtend,
  postcssColorFunction,
  postcssCustomMedia,
  autoprefixer({
    browsers: ['last 3 versions']
  }),
  cssnano
];

remove lost from build