You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
608 B
JavaScript
24 lines
608 B
JavaScript
module.exports = {
|
|
plugins: {
|
|
// https://github.com/csstools/postcss-preset-env
|
|
'postcss-preset-env': {},
|
|
// https://github.com/evrone/postcss-px-to-viewport/blob/master/README_CN.md
|
|
'postcss-px-to-viewport': {
|
|
unitToConvert: 'px',
|
|
viewportWidth: 750,
|
|
unitPrecision: 3,
|
|
propList: ['*'],
|
|
viewportUnit: 'vw',
|
|
fontViewportUnit: 'vw',
|
|
selectorBlackList: ['.ignore', 'van'],
|
|
minPixelValue: 1,
|
|
mediaQuery: false,
|
|
replace: true,
|
|
exclude: [],
|
|
landscape: false,
|
|
landscapeUnit: 'vw',
|
|
landscapeWidth: 568
|
|
}
|
|
}
|
|
}
|