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

feat(preset-icons): throw error when prefix empty #3772

Closed
wants to merge 2 commits into from

Conversation

zyyv
Copy link
Member

@zyyv zyyv commented May 6, 2024

Add detection of prefix to prevent incorrect use cases.
close #3766

@zyyv zyyv requested review from antfu and userquin as code owners May 6, 2024 07:46
Copy link

netlify bot commented May 6, 2024

Deploy Preview for unocss ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 52c7898
🔍 Latest deploy log https://app.netlify.com/sites/unocss/deploys/6638a94ca09ac50008705d72
😎 Deploy Preview https://deploy-preview-3772--unocss.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@antfu
Copy link
Member

antfu commented May 6, 2024

Well, I am not sure about if we should "disallow" this. We could say it's not recommended because it would have impact to the performance - but in the end the cost is paid by the end users, and if they think it's worth it, I suppose we should let them do it

@zyyv zyyv closed this May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Preset icons empty prefix makes things very slow in Nuxt
2 participants