Skip to content

Add 'file' param support on config files [ module.exports = (ctx: { cwd, env, *file }) => ${config} ] #4653

@VincentDream

Description

@VincentDream

Clear and concise description of the problem

postcss.config.js 配置中无法获取到file,导致无法去区分不同尺寸的UI来做转换(例如vant的设计图尺寸为375,而其他为750)

Suggested solution

postcss.config.js中增加file参数

Alternative

No response

Additional context

No response

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions