const config = require('./package.json')
module.exports = (ctx) => {
  const plugins = {
    autoprefixer: {
      Browserslist: config.browserslist, // ['not ie < 8'],
      flexbox: 'no-2009'
    },
    'postcss-px2rem': {
      remUnit: 38,
      baseDpr: 1
    }
  }
  return { plugins }
}
// 'postcss-adaptive': {
//   autoRem: true,
//   remUnit: 144,
//   baseDpr: 1,
//   remPrecision: 9,
//   hairlineClase: 'hairline'
// }
