text: const stylelint = require('stylelint');
  const stylelintConfig = require('./stylelint.config');
  const settings = require('../../config');
  const rootFolder = settings.root_folder;
  const env = process.env.NODE_ENV || 'development';
  
  module.exports = {
      env,
      map: {
          inline: false
      },
      plugins: [
          require('postcss-import')({
              plugins: [
                  stylelint({
                      config: stylelintConfig,
                      ignoreFiles: [
                          rootFolder + 'node_modules/**/*.css',
                          rootFolder + settings.mainSettings.dist
                      ]
                  })
              ]
          }),
          require('postcss-preset-env')({
              stage: 2, // default stage is 2
              preserve: false,
              autoprefixer: {
                  grid: true
              },
              features: {
                  'color-mod-function': {unresolved: 'warn'},
                  'custom-media-queries': {}
              }
          }),
          require('postcss-nested'),
          require('cssnano')({
              autoprefixer: false,
              discardComments: {
                  removeAll: true
              },
              mergeLonghand: true,
              colormin: false,
              zindex: false,
              discardUnused: {
                  fontFace: false
              }
          }),
          require('postcss-reporter')({
              clearMessages: true,
              throwError: false
          })
      ]
  };
  