yotta-node/postcss.config.js

23 lines
436 B
JavaScript

/*
* @LastEditors: John
* @Date: 2024-06-17 18:25:10
* @LastEditTime: 2024-06-28 17:46:23
* @Author: John
*/
export default {
plugins: {
autoprefixer: {},
"postcss-pxtorem": {
rootValue: 37.5,
propList: ["*"],
exclude: (e) => {
if (/.*-m\.css$/.test(e) || /.*-m.module\.css$/.test(e)) {
// console.log(e);
return false;
}
return true;
},
},
},
};