.postcssrc.js 549 B

123456789101112131415161718192021222324
  1. // https://github.com/michael-ciniawsky/postcss-load-config
  2. module.exports = {
  3. "plugins": {
  4. autoprefixer: {},
  5. "postcss-aspect-ratio-mini": {},
  6. "postcss-write-svg": {
  7. utf8: false
  8. },
  9. "postcss-px-to-viewport": {
  10. viewportWidth: 750/2,
  11. viewportHeight: 1334/2,
  12. unitPrecision: 1,
  13. viewportUnit: 'vw',
  14. selectorBlackList: [".ignore", ".hairlines"],
  15. minPixelValue: 1,
  16. mediaQuery: false,
  17. exclude: [/node_modules/]
  18. },
  19. "postcss-viewport-units":{
  20. silence: true
  21. }
  22. }
  23. }