2024-08-08 15:51:37 +03:00
|
|
|
import autoprefixer from 'autoprefixer';
|
|
|
|
import postcssNesting from 'postcss-nesting';
|
|
|
|
import pxToRem from 'postcss-pxtorem';
|
2023-01-31 17:55:57 +03:00
|
|
|
|
2024-08-08 15:51:37 +03:00
|
|
|
export default {
|
2023-02-24 12:46:41 +03:00
|
|
|
plugins: [
|
|
|
|
//But others, like autoprefixer, need to run after,
|
2024-06-05 03:32:49 +03:00
|
|
|
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
|
|
|
};
|