gitbutler/apps/desktop/postcss.config.cjs

23 lines
455 B
JavaScript
Raw Normal View History

2023-02-24 12:46:41 +03:00
const autoprefixer = require('autoprefixer');
const pxToRem = require('postcss-pxtorem');
2024-07-09 15:06:09 +03:00
const postcssNesting = require('postcss-nesting');
2023-01-31 17:55:57 +03:00
const config = {
2023-02-24 12:46:41 +03:00
plugins: [
//But others, like autoprefixer, need to run after,
autoprefixer,
pxToRem({
rootValue: 16,
unitPrecision: 5,
propList: ['*'],
selectorBlackList: [],
replace: true,
mediaQuery: false,
minPixelValue: 0
2024-07-09 15:06:09 +03:00
}),
postcssNesting()
2023-02-24 12:46:41 +03:00
]
2023-01-31 17:55:57 +03:00
};
module.exports = config;