Add HTML minification to Vite

This commit is contained in:
2026-06-24 18:12:17 +02:00
parent 9086e48cea
commit 0ce3f57d2e
4 changed files with 260 additions and 5 deletions
+12 -3
View File
@@ -4,13 +4,22 @@ Eine bewusst nostalgische Website im Stil klassischer 2010er-Webseiten.
## Starten
Einfach `index.html` im Browser öffnen oder einen lokalen Static Server nutzen.
Einfach `npm run dev` starten.
Für den Produktionsbuild:
```bash
npm run build
```
Die HTML-Ausgabe wird dabei über `html-minifier-terser` zusätzlich minimiert.
## Enthalten
- `index.html`
- `styles.css`
- `script.js`
- `vite.config.js`
- `src/main.js`
- `src/styles.css`
## Stilrichtung