Skip to content
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

unocss preset icons + windicss + nuxt3 : some icons removed from uno.css #274

Open
userquin opened this issue Feb 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@userquin
Copy link

userquin commented Feb 1, 2022

Describe the bug
see unocss/unocss#560: some icons removed from unocss css asset, it seems only ones containing bit in the class name

Minimal Reproductions
https://stackblitz.com/edit/nuxt3-iconify-missing-icon-bug-yyk9oc

Comment out the exclude entry: i-logos-bitcoin and i-logos-bitbucket missing from app.vue.

Versions
check https://stackblitz.com/edit/nuxt3-iconify-missing-icon-bug-yyk9oc?file=package.json

Additonal Context
Excluding uno.css variants just works:

https://stackblitz.com/edit/nuxt3-iconify-missing-icon-bug-yyk9oc?file=windi.config.ts

On the repro I added the vite-plugin-inspect and so you can open also https://stackblitz.com/edit/nuxt3-iconify-missing-icon-bug-yyk9oc/__inspect to check it is the vite-plugin-windicss:css plugin removing both icons (also tried adding shortcuts for icons but still not working).

@userquin userquin added the bug Something isn't working label Feb 1, 2022
@userquin
Copy link
Author

userquin commented Feb 1, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant