#!/bin/bash set -e echo "🔨 Building Nitrokite Frontend..." # Navigate to frontend directory cd "$(dirname "$0")" # Install dependencies if needed if [ ! -d "node_modules" ]; then echo "📦 Installing dependencies..." npm install fi # Build the application echo "🏗️ Building production bundle..." npm run build echo "✅ Build complete! Output in ./dist/" echo "📦 Ready to deploy"