#!/bin/sh set -e SITE="$1" if [ -z "$SITE" ]; then echo "Usage: npm run build -- (e.g. npm run build -- folder-1)" exit 1 fi if [ ! -d "$SITE" ]; then echo "Error: '$SITE' is not a folder in this project." exit 1 fi npx tailwindcss -i ./src/input.css -o "./$SITE/assets/styles.css" --minify echo "Built $SITE"