|
@ -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: {}, |
|
|