Add caddy and clean up build
This commit is contained in:
+2
-4
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user