Files
online_sys/frontend_智能开发/postcss.config.js
KQL a7242f0c69 Initial commit: 教务系统在线平台
- 包含4个产业方向的前端项目:智能开发、智能制造、大健康、财经商贸
- 已清理node_modules、.yoyo等大文件,项目大小从2.6GB优化至631MB
- 配置完善的.gitignore文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-12 18:16:55 +08:00

15 lines
550 B
JavaScript

export default {
plugins: {
"postcss-px-to-viewport": {
viewportWidth: 1440, // 设计稿宽度
viewportHeight: 1133, // 设计稿高度
unitPrecision: 5, // 转换后的精度,即小数点位数
viewportUnit: "vw", // 希望使用的视口单位
selectorBlackList: ["ignore"], // 不需要转换的类名
minPixelValue: 1, // 小于或等于1px则不进行转换
mediaQuery: true, // 是否在媒体查询中也进行转换
exclude: /node_modules/i, // 排除node_modules目录
},
},
};