Inline all assets into index.html, compress it, saves 300kB

This commit is contained in:
Markus Unterwaditzer
2025-07-03 21:53:56 +02:00
committed by Will Greenberg
parent 5e328b889b
commit 300215206c
7 changed files with 47 additions and 42 deletions

View File

@@ -4,7 +4,7 @@
"type": "module",
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build": "vite build && gzip -9 ./build/index.html",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",