Fix .htaccess handling in Vite build

This commit is contained in:
2025-12-04 20:15:56 +02:00
parent 005fb89254
commit 69290f3192
3 changed files with 21 additions and 4 deletions

View File

@@ -8,7 +8,7 @@
},
"scripts": {
"dev": "vite",
"build": "run-p type-check \"build-only {@}\" --",
"build": "run-p type-check \"build-only {@}\" -- && cp public/.htaccess dist/.htaccess",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build",