Add caddy and clean up build

This commit is contained in:
2026-09-10 11:20:46 +02:00
parent 443a7c483a
commit d6cb4078bc
9 changed files with 49 additions and 57 deletions
+2 -4
View File
@@ -3,10 +3,8 @@
"version": "1.0.0",
"type": "module",
"scripts": {
"build": "vite build",
"build-dev": "vite build --mode development",
"dev": "vite build --mode development --watch",
"serve": "concurrently \"vite\" \"cross-env DEV=1 php -S localhost:8000\" \"mailpit\""
"build": "vite build && cp -R php dist/php",
"serve": "concurrently \"vite\" \"php -S localhost:8000\" \"mailpit\" \"caddy run --config Caddyfile\""
},
"dependencies": {
"@fortawesome/fontawesome-free": "7.3.1",