Skip to content

Commit bb3793b

Browse files
committed
Allow disabling compression
1 parent 0ece831 commit bb3793b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lambdaisland/ornament.cljc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -904,11 +904,12 @@
904904
Optionally the Tailwind preflight (reset) stylesheet can be prepended using
905905
`:preflight? true`. This defaults to Tailwind v2 (as provided by Girouette).
906906
Version 3 is available with `:tw-version 3`"
907-
[& [{:keys [preflight? tw-version]
907+
[& [{:keys [preflight? tw-version compress?]
908908
:or {preflight? false
909-
tw-version 2}}]]
909+
tw-version 2
910+
compress? true}}]]
910911
(gc/compile-css
911-
{:pretty-print? false}
912+
{:pretty-print? (not compress?)}
912913
(cond->> (defined-garden)
913914
preflight? (concat (case tw-version
914915
2 girouette-preflight/preflight-v2_0_3

0 commit comments

Comments
 (0)