You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Allow disabling minification
* Add uv lock updates
Automatically added from running `just bootstrap`
* Add unit test for get_build_cmd with minify=False
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
## Unreleased
4
4
5
+
### 🎯 New Features
6
+
-**Configurable minification**: New `TAILWIND_CLI_AUTOMATIC_MINIFY` setting and `--minify` / `--no-minify` flag on `tailwind build` for projects whose asset pipelines already minify CSS. Defaults preserve existing behavior.
7
+
5
8
### 🛠️ Developer Experience
6
9
-**Gitignore cleanup**: Trimmed `.gitignore` to project-relevant entries only
Copy file name to clipboardExpand all lines: docs/settings.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,6 +42,14 @@ In case you want to use the new behaviour, it is highly recommended to also set
42
42
43
43
Enable or disable the automatic downloading of the official CLI to your machine.
44
44
45
+
### TAILWIND_CLI_AUTOMATIC_MINIFY
46
+
47
+
**Default**: `True`
48
+
49
+
Controls whether `python manage.py tailwind build` passes `--minify` to the Tailwind CLI. Set to `False` if your asset pipeline already minifies CSS (for example when using `django-compressor` or a CDN transform) so you don't minify twice.
50
+
51
+
This setting only changes the default; the `build` command also accepts an explicit `--minify` / `--no-minify` flag which takes precedence.
0 commit comments