#!/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
