Closed MrAmericanMike closed 1 year ago
vite-plugin-svelte is just the messenger here.
The message is correct, if the @apply
generates that strange direct child selector it wont target anything in this case as there is no child.
please consult skeleton docs or their support channels. This is a bug tracker for bugs in vite-plugin-svelte only.
Describe the bug
In combination with Tailwind and PostCSS
vite-plugin-svelte
is reporting unused CSSThe console output looks like this:
I made a SvelteLab project to illustrate this issue. https://www.sveltelab.dev/2h5pdcohp85tvd4?files=.%2Fsrc%2Froutes%2F%2Bpage.svelte
Project is using Skeleton Library. https://www.skeleton.dev/
When I create the button like this:
Everything seams fine, but as soon as I go this route:
Console shows the error mentioned above.
Sorry if this is not something for
vite-plugin-svelte
to fix, or maybe the error comes from somewhere else, but needed to start somewhere as I'm not sure.Reproduction URL
https://www.sveltelab.dev/2h5pdcohp85tvd4?files=.%2Fsrc%2Froutes%2F%2Bpage.svelte
Reproduction
No response
Logs
No response
System Info