Skip to content
Snippets Groups Projects
postcss.config.js 344 B
Newer Older
const postcssPresetEnv = require('postcss-preset-env');

Renaud Chaput's avatar
Renaud Chaput committed
/** @type {import('postcss-load-config').Config} */
const config = ({ env }) => ({
    postcssPresetEnv({
      features: {
        'logical-properties-and-values': false
      }
    }),
Renaud Chaput's avatar
Renaud Chaput committed
    env === 'production' ? require('cssnano') : '',
Renaud Chaput's avatar
Renaud Chaput committed

module.exports = config;