diff --git a/index.html b/index.html new file mode 100644 index 00000000..6d975907 --- /dev/null +++ b/index.html @@ -0,0 +1,12 @@ + + + + + + f1rq.ovh + + +
+ + + \ No newline at end of file diff --git a/package.json b/package.json index 1ce8cb6e..e726147e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.1", "scripts": { "dev": "vite dev", - "build": "vite build && npm run package", + "build": "vite build", "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", diff --git a/vite.config.js b/vite.config.js index bbf8c7da..74d42c7d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -2,5 +2,11 @@ import { sveltekit } from '@sveltejs/kit/vite'; import { defineConfig } from 'vite'; export default defineConfig({ - plugins: [sveltekit()] + plugins: [sveltekit()], + root: '.', + build: { + outDir: 'dist', + emptyOutDir: true, + }, + publicDir: 'public' });