lx-music-desktop/postcss.config.js

36 lines
708 B
JavaScript

const autoprefixer = require('autoprefixer')
const pxtorem = require('postcss-pxtorem')
module.exports = {
plugins: [
pxtorem({
rootValue: 16,
unitPrecision: 5,
propList: [
'font',
'font-size',
'line-height',
'letter-spacing',
'padding', 'margin',
'height',
'width',
'max-width',
'max-height',
'min-width',
'min-height',
'top',
'left',
'bottom',
'right',
'border-radius',
],
selectorBlackList: ['html'],
replace: true,
mediaQuery: false,
minPixelValue: 0,
exclude: [/node_modules/i],
}),
autoprefixer(),
],
}