aboutsummaryrefslogtreecommitdiff
path: root/search-component/postcss.config.js
blob: ce65774e2ed25dd9694dc6ae75a824f0132dfcdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module.exports = () => ({
  plugins: [
    require('postcss-import'),
    require('postcss-preset-env')({
      features: {
        stage: 3, // See https://cssdb.org/#staging-process
        importFrom: require.resolve('@jetbrains/ring-ui/components/global/variables.css'),
        features: {
          'nesting-rules': true,
          'custom-properties': {
            preserve: true
          }
        }
      }
    })
  ]
});