@echo off
if exist manifest.json copy /y manifest.json manifest.json.bak >nul 2>&1
copy /y config\consumer\manifest.json manifest.json >nul 2>&1

call npm run pages:consumer
if errorlevel 1 exit /b 1

echo Consumer pages config applied.
