Skip to content

Why the log for daisyUI is commented out? #3940

Answered by saadeghi
codayon asked this question in Q&A
Discussion options

You must be logged in to vote

daisyUI must work with every framework, build tool and CSS build pipeline.
There are a few CLI-based CSS build pipelines that use terminal output and save it into CSS file. It's a bad practice but we have no control over it. If the log is 🌼 daisyUI 5.0.43 this will be added to that CSS file and will be considered as an invalid style. To be compatible with those old-style build pipelines, log is wrapped in a CSS comment so if CLI is putting the output in the CSS file, it will be valid CSS.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@osama300
Comment options

Answer selected by codayon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants