PostCSS 配置

项目路径下新建 postcss.config.js,就可以修改 PostCSS 配置:

// postcss.config.js
module.exports = ({ options }) => ({
  plugins: {
    // 继承 Rsmax 默认的插件配置
    ...options.plugins,
    // 添加其他插件
    'postcss-url': { url: 'inline', maxSize: 15 },
  },
});