merged/bin/build

15 lines
522 B
Bash
Executable File

#!/usr/bin/env sh
# see also watch, the main css is the same without -w (watch)
tailwindcss -i app/assets/stylesheets/merged.tailwind.css \
-o app/assets/stylesheets/merged/merged.css \
-c config/tailwind.config.js
# the second rn is for emails,
# without prose, preflight and app styles (ie just views)
# to get to about 30% size
tailwindcss -i app/assets/stylesheets/merged.tailwind.css \
-o app/assets/stylesheets/merged/merged.email.css \
-c config/tailwind.email.js