🔧 fix: update template handling and svelte compiler options for improved build process

This commit is contained in:
2025-10-30 09:11:44 +00:00
parent 1ae34d6a18
commit 2025a0a71f
4 changed files with 6 additions and 7 deletions

View File

@@ -59,7 +59,9 @@ jobs:
sed -i s/__TIMESTAMP__/$stamp/g frontend/spa.html
# sed -i s/__TIMESTAMP__/$stamp/g frontend/serviceworker.js
# cat frontend/serviceworker.js
rm api/templates/spa.html
test -d api/templates && test -f api/templates/spa.html && rm api/templates/spa.html
test -d api/templates && cp frontend/spa.html api/templates/spa.html
cp frontend/spa.html api/templates/spa.html
echo ______ frontend/spa.html ______
cat frontend/spa.html