diff --git a/src/index.html b/index.html similarity index 92% rename from src/index.html rename to index.html index 586d876..9654340 100644 --- a/src/index.html +++ b/index.html @@ -12,6 +12,6 @@
- + diff --git a/vite.config.ts b/vite.config.ts index d8511c4..c7a4863 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,13 +1,9 @@ import preact from '@preact/preset-vite' import { defineConfig } from 'vite' +// Standard layout: index.html at the root, output in ./dist (what Railpack/Coolify expect). export default defineConfig({ plugins: [preact()], - root: 'src', // relative asset URLs so dist/ works from any sub-path base: './', - build: { - outDir: '../dist', - emptyOutDir: true, - }, })