Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

h5 / glsk-13years-poster

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • glsk-13years-poster
  • postcss.config.js
  • 张立顺's avatar
    feat 功能开发 · 16d06571
    张立顺 committed Apr 28, 2025
    16d06571
postcss.config.js 501 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
const path = require("path");

module.exports = ({ file }) => {
  return {
    plugins: {
      autoprefixer: {},
      "postcss-px-to-viewport": {
        unitToConvert: "px",
        viewportWidth: 375,
        unitPrecision: 6,
        propList: ["*"],
        viewportUnit: "vw",
        fontViewportUnit: "vw",
        selectorBlackList: [],
        minPixelValue: 1,
        mediaQuery: true,
        exclude: [/equityPoster/, /refundExamine/],
        landscape: false,
      },
    },
  };
};