Browse Source

1

pull/14/head^2
zhaoguoqiang 3 years ago
parent
commit
79f6b32151
  1. 3
      postcss.config.js

3
postcss.config.js

@ -4,7 +4,8 @@ const unit = require('./src/config/translatedUnit_server');
module.exports = ({
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 {
plugins: {
autoprefixer: {},

Loading…
Cancel
Save