Allow generation of unminified CSS file#195
Merged
oliverandrich merged 3 commits intodjango-commons:mainfrom Apr 10, 2026
Merged
Allow generation of unminified CSS file#195oliverandrich merged 3 commits intodjango-commons:mainfrom
oliverandrich merged 3 commits intodjango-commons:mainfrom
Conversation
Automatically added from running `just bootstrap`
Member
|
This is a good addition and a great idea. I looked into the pull request and merged it. I expect to release it on the weekend in a new version. I have to make up my mind, if I want to merge another feature into the release or not. Thanks for the contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I am switching to django-tailwind-cli from an npm-managed version of Tailwind and I'd like to keep using the unminified CSS file I generated before, as I sometimes like to scroll through the diff and ensure sensible classes were generated (I minify later on in my asset pipeline).
This would:
TAILWIND_CLI_AUTOMATIC_MINIFYsetting that can be set toFalseto disable minification--minifyand--no-minifyflag to override that settingI am open to alternate names if you feel
TAILWIND_CLI_AUTOMATIC_MINIFYis too verbose or alternate implementations (like allowing--no-minifybut not allowing customization via a setting).