module.exports = {
  options: {
    map: {
      inline: false,
    },

    processors: [
      require('pixrem')(), // add fallbacks for rem units

      require('autoprefixer')({
        // add vendor prefixes
        browsers: [
          'last 3 version',
          'ie 8',
          'ff 3.6',
          'opera 11.1',
          'ios 4',
          'android 2.3',
        ],
      }),

      require('cssnano')({
        convertValues: false
      }), // minify the result
    ],
  },

  main: {
    files: {
      '<%= destMinCSS %>' : '<%= destCSS %>',
    },
  },
};

module.exports = {
  options: {
    map: {
      inline: false,
    },

    processors: [
      require('pixrem')(), // add fallbacks for rem units

      require('autoprefixer')({
        // add vendor prefixes
        browsers: [
          'last 3 version',
          'ie 8',
          'ff 3.6',
          'opera 11.1',
          'ios 4',
          'android 2.3',
        ],
      }),

      require('cssnano')({
        convertValues: false,
        zindex: false,
      }), // minify the result
    ],
  },

  main: {
    files: {
      '<%= destMinCSS %>' : '<%= destCSS %>',
    },
  },
};

disable z-index optimization