2018-11-09 18:08:48 +01:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const lost = require('lost');
|
|
|
|
const pxtorem = require('postcss-pxtorem');
|
|
|
|
const autoprefixer = require('autoprefixer');
|
|
|
|
|
|
|
|
module.exports = [
|
|
|
|
lost(),
|
|
|
|
pxtorem({
|
|
|
|
rootValue: 16,
|
|
|
|
unitPrecision: 5,
|
|
|
|
propList: [
|
|
|
|
'font',
|
|
|
|
'font-size',
|
2019-12-18 15:37:51 +01:00
|
|
|
'height',
|
2018-11-09 18:08:48 +01:00
|
|
|
'line-height',
|
|
|
|
'letter-spacing',
|
|
|
|
'margin',
|
|
|
|
'margin-top',
|
|
|
|
'margin-left',
|
|
|
|
'margin-bottom',
|
|
|
|
'margin-right',
|
|
|
|
'padding',
|
|
|
|
'padding-top',
|
|
|
|
'padding-left',
|
|
|
|
'padding-bottom',
|
|
|
|
'padding-right',
|
|
|
|
'border-radius',
|
|
|
|
'width',
|
|
|
|
'max-width'
|
|
|
|
],
|
|
|
|
selectorBlackList: [],
|
|
|
|
replace: true,
|
|
|
|
mediaQuery: false,
|
|
|
|
minPixelValue: 0
|
|
|
|
}),
|
|
|
|
autoprefixer()
|
|
|
|
];
|