text: const path = require('path');
  
  const config = {
      plugins: [
          require('postcss-mixins')({
              mixinsDir: path.resolve('src/common/mixins'),
          }),
          require('postcss-preset-env')({
              stage: 3,
              features: {
                  'nesting-rules': true,
              },
              autoprefixer: {
                  grid: true,
              },
          }),
      ],
  };
  
  if (process.env.NODE_ENV === 'production') {
      config.plugins.push(
          require('cssnano')({
              preset: 'default',
          }),
      );
  }
  
  module.exports = config;
  