marketingsystem_temp_h5/postcss.config.js

9 lines
322 B
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

module.exports = {
plugins: {
autoprefixer: {}, // 可以添加autoprefixer等其他postcss插件
'postcss-pxtorem': {
rootValue: 37.5, // 设计稿尺寸基准16px通常设为设计稿尺寸的一半或者1/10
propList: ['*'] // 需要转换的属性,这里选择转换所有属性
}
}
};