diff --git a/postcss.config.js b/postcss.config.js index 51da83b..ba96365 100644 --- a/postcss.config.js +++ b/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: {},