消毒机设备
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.0 KiB

  1. export default {
  2. plugins: {
  3. 'postcss-import': {},
  4. 'postcss-url': {},
  5. 'postcss-aspect-ratio-mini': {},
  6. 'postcss-write-svg': {
  7. utf8: false,
  8. },
  9. 'postcss-px-to-viewport-8-plugin': {
  10. viewportWidth: 1120,
  11. viewportHeight: 736,
  12. unitPrecision: 3, // 指定`px`转换为视窗单位值的小数位数(很多时候无法整除)
  13. viewportUnit: 'vw', // 指定需要转换成的视窗单位,建议使用vw
  14. selectorBlackList: ['.ignore', '.hairlines', ':after'], // 指定不转换为视窗单位的类,可以自定义,可以无限添加,建议定义一至两个通用的类名
  15. minPixelValue: 1, // 小于或等于`1px`不转换为视窗单位,你也可以设置为你想要的值
  16. mediaQuery: false, // 允许在媒体查询中转换`px`
  17. },
  18. 'postcss-viewport-units': {
  19. filterRule: rule =>
  20. !/::?(?:before|after)/i.test(rule.selector),
  21. },
  22. 'cssnano': {
  23. 'autoprefixer': false,
  24. 'postcss-zindex': false,
  25. },
  26. },
  27. }