starcraft-tg-webapp/postcss.config.js

23 lines
433 B
JavaScript
Raw Permalink Normal View History

2024-07-18 18:51:17 +08:00
/*
* @LastEditors: John
* @Date: 2024-06-17 18:25:10
* @LastEditTime: 2024-07-13 14:06:25
* @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;
},
},
},
};