Files
claude-code-viewer/scripts/build.sh
2025-09-01 17:31:56 +09:00

14 lines
221 B
Bash
Executable File

#!/usr/bin/env bash
set -euxo pipefail
if [ -d "dist/.next" ]; then
rm -rf dist/.next
fi
pnpm exec next build
cp -r public .next/standalone/
cp -r .next/static .next/standalone/.next/
cp -r .next/standalone ./dist/