@echo dist\server.js off echo 🚀 Building PozoApp with SEO optimization... echo. REM Set production environment set NODE_ENV=production set ENV_MAIN_BASE_URL=https://www.pozo.dev set ENV_BASE_URL=/ set ENV_API_URL=https://api.pozo.dev/pozo-common-api echo ✅ Environment variables set echo. REM Clean previous build if exist dist rmdir /s /q dist echo ✅ Cleaned previous build echo. REM Run build with SEO echo 🔨 Running Vite build... npm run build if %ERRORLEVEL% NEQ 0 ( echo ❌ Vite build failed! pause exit /b 1 ) echo ✅ Vite build completed echo. echo 🔍 Generating SEO files... npm run generate-seo if %ERRORLEVEL% NEQ 0 ( echo ❌ SEO generation failed! pause exit /b 1 ) echo ✅ SEO files generated echo. echo 🔄 Running JSX to HTML converter... set SKIP_BUILD=1 node scripts\jsx-to-html-converter.js if %ERRORLEVEL% NEQ 0 ( echo ❌ JSX to HTML conversion failed! pause exit /b 1 ) echo ✅ JSX to HTML conversion completed echo. echo ✅ Build completed successfully! echo. echo 🚀 Starting SEO server on port 3000... echo. node