Skip to content

[feature] allow users to always generate unminified CSS #244

Closed
@flavorjones

Description

@flavorjones

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions