gitbutler/packages/ui/postcss.config.js
2024-08-08 14:51:37 +02:00

24 lines
501 B
JavaScript

import postcssBundler from '@csstools/postcss-bundler';
import autoprefixer from 'autoprefixer';
import postcssMinify from 'postcss-minify';
import postcssNesting from 'postcss-nesting';
import pxToRem from 'postcss-pxtorem';
export default {
plugins: [
pxToRem({
rootValue: 16,
unitPrecision: 5,
propList: ['*'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
minPixelValue: 0
}),
autoprefixer(),
postcssNesting(),
postcssBundler(),
postcssMinify()
]
};