const path = require('path')
const stylesheetsPath = path.join(__dirname, 'app', 'assets', 'stylesheets', 'uploadcare')

module.exports = {
  'input': path.join(stylesheetsPath, 'styles.pcss'),
  'output': path.join(stylesheetsPath, 'styles.css'),
  'local-plugins': true,
  'use': [
    'postcss-import',
    'postcss-each',
    'postcss-inline-svg',
    'postcss-custom-media',
    'postcss-nested',
    'postcss-css-variables',
    'postcss-calc',
    'postcss-color-function',
    'postcss-flexbugs-fixes',
    'postcss-input-style',
    'autoprefixer',
    'postcss-reporter',
  ],
  'postcss-import': {
    path: stylesheetsPath,
    plugins: [
      require('stylelint'),
      require('postcss-apply'),
      require('postcss-prefixer')('uploadcare--', {
        ignore: [
          /^uploadcare-|^ord-/,
          '.bottom',
          '.right',
        ],
      }),
    ],
  },
  'postcss-inline-svg': {path: path.join(__dirname, 'app', 'assets', 'images', 'uploadcare', 'svg')},
  'postcss-reporter': {clearMessages: true},
  'autoprefixer': {browsers: ['last 2 versions', 'ie >= 10']},
}

@@ -1005,16 +1005,21 @@
 rter': %7B
+%0A    
 clearMes
@@ -1029,16 +1029,74 @@
 es: true
+,%0A    filter: message =%3E message.type !== 'dependency',%0A  
 %7D,%0A  'au

Add filter for postcss reporter https://github.com/TrySound/postcss-inline-svg/issues/32