2 Commits

Author SHA1 Message Date
zhaoguoqiang 0cf4b236ed Merge branch 'guoqiang' into test 3 years ago
zhaoguoqiang 79f6b32151 1 3 years ago
  1. 3
      postcss.config.js

3
postcss.config.js

@ -4,7 +4,8 @@ const unit = require('./src/config/translatedUnit_server');
module.exports = ({ module.exports = ({
file file
}) => { }) => {
const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 350 : 750;
// const designWidth = file.dirname.includes(path.join('node_modules', 'vant')) ? 350 : 750;
const designWidth = file.dirname.includes('node_modules/vant') ? 375 : 750;
return { return {
plugins: { plugins: {
autoprefixer: {}, autoprefixer: {},

Loading…
Cancel
Save