zed/script/build-css
Nathan Sobo 1537500fcb Include contents of the zed-server repo
We're going full monorepo.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
2021-07-12 14:14:39 -06:00

11 lines
253 B
Bash
Executable File

#!/bin/bash
set -e
cd ./script
[ -d node_modules ] || npm install
if [[ $1 == --release ]]; then
export NODE_ENV=production # Purge unused styles in --release mode
fi
npx tailwindcss build ../server/styles.css --output ../server/static/styles.css