1
0

postcss.config.js 344 B

123456789101112131415
  1. const postcssPresetEnv = require('postcss-preset-env');
  2. /** @type {import('postcss-load-config').Config} */
  3. const config = ({ env }) => ({
  4. plugins: [
  5. postcssPresetEnv({
  6. features: {
  7. 'logical-properties-and-values': false
  8. }
  9. }),
  10. env === 'production' ? require('cssnano') : '',
  11. ],
  12. });
  13. module.exports = config;