Open userquin opened 2 years ago
Describe the bug see https://github.com/antfu/unocss/issues/560: some icons removed from unocss css asset, it seems only ones containing bit in the class name
unocss
bit
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.
i-logos-bitcoin
i-logos-bitbucket
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:
uno.css
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).
vite-plugin-inspect
vite-plugin-windicss:css
shortcuts
https://streamable.com/h7tq0t
Describe the bug see https://github.com/antfu/unocss/issues/560: some icons removed from
unocss
css asset, it seems only ones containingbit
in the class nameMinimal Reproductions https://stackblitz.com/edit/nuxt3-iconify-missing-icon-bug-yyk9oc
Comment out the exclude entry:
i-logos-bitcoin
andi-logos-bitbucket
missing fromapp.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 thevite-plugin-windicss:css
plugin removing both icons (also tried addingshortcuts
for icons but still not working).