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

Minify <style> CSS from UnoCSS, when using cssFile: false #578

Closed
danklammer opened this issue Mar 4, 2024 · 2 comments
Closed

Minify <style> CSS from UnoCSS, when using cssFile: false #578

danklammer opened this issue Mar 4, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@danklammer
Copy link

Enter your suggestions in details:

Currently there is no way to minify the <style> CSS from UnoCSS, when using cssFile: false.

Even when using the Minify HTML plugin, the CSS within the <style> tag is unminified.

unminified_embedded_css

@danklammer danklammer added the enhancement New feature or request label Mar 4, 2024
oscarotero added a commit that referenced this issue Mar 4, 2024
@oscarotero
Copy link
Member

Hi!
Thanks for mentioning this. I just found a bug in the unocss plugin that might be the cause of your problem. Can you upgrade Lume to the latest development version and confirm it works fine now? Run deno task lume upgrade --dev.

@danklammer
Copy link
Author

You are so fast! That fixes it — thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants