-
-
Notifications
You must be signed in to change notification settings - Fork 180
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
Breaks on external @import #199
Comments
Fixed with #191 |
I have updated to 2.5.6 and the issue persists. I've updated the git repo above to use 2.5.6 where the issue can still be reproduced. @antfu |
I see a test was added and it seems to pass successfully, yet after updating the issue still persists in the repo above after updating to 2.5.7. |
i think vite-plugin-windicss needs to be updated. windicss is included in the build of @windicss/plugin-utils and still is on 2.5.5 |
Confirmed we have some externalizing issue in the vite plugin, which should be fixed now. Can you try with |
Just confirmed it works 🎉 Thanks! |
I'm looking for this too XD, i thought something wrong with postcss; fixed by upgrading @windicss/plugin-utils |
Describe the bug
When using external imports (e.g. Google Fonts) it seems like windi doesn't parse the url properly. I think it might see it as a comment due to
//
in the url.Minimal Reproductions
A clean vite/vue/windi set up is enough. I only added a style.css with an
@import
to a google font:https://github.com/michaelowens/windi-import-bug
Versions
Additonal Context
Here you can see it seems to cut off the url:
The text was updated successfully, but these errors were encountered: