-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
problem in vite: isExcludeFile may not be correctly set #85
Comments
any reproduction? |
/^(?!\.pife1-).*/.test('.pife1-card') // false |
I made a mistake, i have edited my description. |
I tested it, it can achieve what you want Maybe that you made a small mistake |
If you are still stuck in this situation, you could try my fork repository: https://github.com/hemengke1997/postcss-pxtorem Use it like:
|
exclude有的时候正常有的时候不能过滤正常转为了rem,源码打印文件style里面import引入的样式,是拿不到的,请问你是咋解决的 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Part of my vite.config.js:
Once and Declaration callback execution order can be like this:
In my case, i just want to include Register.vue and exclude all other files. However, if Once callback is not directly followed by corresponding Declaration callback, isExcludeFile would be true, it's not as what i expected.
I have glanced at all issues, but i didn't got a similar one.
I’d appreciate some help.
The text was updated successfully, but these errors were encountered: