2024-07-20 10:32:01 +08:00
|
|
|
/*
|
|
|
|
* @LastEditors: John
|
|
|
|
* @Date: 2024-06-17 18:25:10
|
2024-07-22 13:59:08 +08:00
|
|
|
* @LastEditTime: 2024-07-22 13:59:05
|
2024-07-20 10:32:01 +08:00
|
|
|
* @Author: John
|
|
|
|
*/
|
|
|
|
export default {
|
|
|
|
plugins: {
|
|
|
|
autoprefixer: {},
|
|
|
|
"postcss-pxtorem": {
|
|
|
|
rootValue: 37.5,
|
|
|
|
propList: ["*"],
|
|
|
|
exclude: (e) => {
|
|
|
|
if (/.*-m\.css$/.test(e) || /.*-m.module\.css$/.test(e)) {
|
2024-07-22 13:59:08 +08:00
|
|
|
// console.log(e);
|
2024-07-20 10:32:01 +08:00
|
|
|
return false;
|
|
|
|
}
|
|
|
|
return true;
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|