Files
Umbrella/Svelte/script/svelte-build
2025-08-12 22:31:31 +02:00

12 lines
216 B
Bash
Executable File

#!/bin/bash
if [ ! -f "/home/svelte/frontend/vite.config.js" ]; then
npm create -y vite@6 frontend -- --template svelte
else
echo Svelte-Project recognized, starting…
fi
cd frontend
npm install
npm run build