Minify JS and resolve accessibility issues (back to 100% in Lighthouse)
Some checks failed
ci/woodpecker/pr/ci Pipeline failed

This commit is contained in:
2026-02-07 01:24:00 -03:00
parent 11ff3dcff3
commit 2e79e7047b
3 changed files with 82 additions and 17 deletions

View File

@@ -5,6 +5,12 @@ export default defineConfig({
plugins: [sveltekit()],
server: {
host: true, // listen on 0.0.0.0 so reachable from host (e.g. dev container, port forward)
port: 5173,
strictPort: false,
// Disable HMR WebSocket when using port forwarding (e.g. dev container); the tunnel
// often doesn't proxy WebSockets, causing repeated connection failures in the console.
// With csr: false we don't use client-side HMR anyway—refresh the page to see changes.
hmr: false,
},
preview: {
host: true,