#!/usr/bin/env bash
# Regenerate delightful-figure-skater-loops.widget.html from the WIDGET:START/END block in delightful-figure-skater-loops.html.
set -euo pipefail
SLUG=$(basename "$(pwd)")
SCRIPT_DIR=$(cd "$(dirname "$0")/../.." && pwd)
node "$SCRIPT_DIR/scripts/extract-widget.mjs" "$SLUG"
