postcss.config.js 247 B

12345678910
  1. /** @type {import('postcss-load-config').Config} */
  2. const config = ({ env }) => ({
  3. plugins: [
  4. require('postcss-preset-env'),
  5. require('autoprefixer'),
  6. env === 'production' ? require('cssnano') : '',
  7. ],
  8. });
  9. module.exports = config;