@echo off echo ๐Ÿ”จ Building POZO App with SEO... echo. REM Clean previous build if exist dist ( echo ๐Ÿงน Cleaning previous build... rmdir /s /q dist ) echo ๐Ÿ“ฆ Building project... npm run build if errorlevel 1 ( echo โŒ Build failed! pause exit /b 1 ) echo ๐Ÿ“‹ Copying server files and setting up SEO... node scripts/jsx-to-html-converter.js if errorlevel 1 ( echo โš ๏ธ Warning: Server file copy had issues, but continuing... ) echo โœ… Build completed successfully! echo ๐Ÿ“ Files are ready in dist folder echo. echo ๐Ÿš€ You can now run START-SERVER.bat to start the server pause