pipecountapp-dev / scripts /build-static.bat
Khunndev
Cursor
Deploy offline-first PWA with in-browser ONNX inference
0e0cc3e
Raw History Blame Contribute Delete
279 Bytes
@echo off
cd /d %~dp0frontend
call npm run build
cd /d %~dp0
if exist static rmdir /s /q static
mkdir static
xcopy /E /I /Y frontend\dist\* static\
xcopy /E /I /Y frontend\public\models static\models\
copy /Y frontend\public\icon.svg static\icon.svg
echo Build copied to static/