Skip to content

[Prettier Plugin] prettier-tailwind daisy ui formatting issues #8380

Answered by saadeghi
juanCortelezzi asked this question in Help
Discussion options

You must be logged in to vote

This is not something I can fix on my end. daisyUI just has console.logs in this file and it's meant to be printed on terminal after building the CSS, to inform the developer about the stuff daisyUI is adding.
It should only be on the terminal (because it's just a console.log) and should not be added to the output file.

A workaround is to disable daisyUI logs from tailwind.config.js:

module.exports = {
  //...
  daisyui: {
    logs: false,
    //...
  },
}

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by juanCortelezzi
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
5 participants