Discussed in #243
Originally posted by the-pulli February 2, 2023
Are there any strategies how to use Tailwind with yui as a CSS compressor?
If I enable yui, the already minified tailwind.css from (app/assets/builds) gets again minified (and messed up) by yui and copied as an asset to public/assets.
Can I configure Rails to exclude the tailwind.css from being minified again?
Any help is appreciated, thanks 🙃
Actions
Because assets:precompile doesn't allow injection of the debug flag, this is currently hard for users to always do. Let's figure out how to enable users to always generate unminified tailwind assets.