my.home-assistant.io/script/build

11 lines
171 B
Plaintext
Executable File

# Stop on errors
set -e
cd "$(dirname "$0")/.."
rm -rf dist
cp -r public dist
cp redirect.json dist
NODE_ENV=production yarn rollup -c
NODE_ENV=production yarn eleventy