We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ece831 commit bb3793bCopy full SHA for bb3793b
src/lambdaisland/ornament.cljc
@@ -904,11 +904,12 @@
904
Optionally the Tailwind preflight (reset) stylesheet can be prepended using
905
`:preflight? true`. This defaults to Tailwind v2 (as provided by Girouette).
906
Version 3 is available with `:tw-version 3`"
907
- [& [{:keys [preflight? tw-version]
+ [& [{:keys [preflight? tw-version compress?]
908
:or {preflight? false
909
- tw-version 2}}]]
+ tw-version 2
910
+ compress? true}}]]
911
(gc/compile-css
- {:pretty-print? false}
912
+ {:pretty-print? (not compress?)}
913
(cond->> (defined-garden)
914
preflight? (concat (case tw-version
915
2 girouette-preflight/preflight-v2_0_3
0 commit comments