cuth / cuth/postcss-pxtorem

Why does my exclude configuration work in the development environment but not in the test environment

Open
#109 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.2k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

I am currently using vite+vue3 to build the project and only want to do rem adaptation for mobile, this is my code:
exclude: function (file) {
return file.indexOf('m/') === -1
}
However, after the packaging release, both pc and mobile have made rem adaptation。What am I supposed to do?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.