-
-
Notifications
You must be signed in to change notification settings - Fork 953
fix(playground): add reset styles for non-preset-wind4 configurations #4938
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
Conversation
✅ Deploy Preview for unocss ready!Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
commit: |
| getCSS: () => cleanOutput(transformedCSS.value || ''), | ||
| }) | ||
| // @ts-expect-error ignore | ||
| if (!result.presets?.some(preset => preset.name === '@unocss/preset-wind4')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a certain coupling to the exact lookup for presetwind4
I will merge the PR first, and I will consider improving it later, thank you
related: #4927
Not inject reset styles by default.
before: playground
after: playground