Skip to content

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

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

Closed
flavorjones opened this issue Feb 2, 2023 Discussed in #243 · 1 comment
Closed

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

flavorjones opened this issue Feb 2, 2023 Discussed in #243 · 1 comment
Assignees

Comments

@flavorjones
Copy link
Member

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.

@flavorjones
Copy link
Member Author

See #253 which fixed the underlying issue (double-minification) in v2.0.24

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

Successfully merging a pull request may close this issue.

1 participant