webvm/svelte.config.js
Alessandro Pignotti 0d60f79c99 Convert to SvelteKit setup
With an SPA
2024-10-10 22:26:24 +02:00

12 lines
289 B
JavaScript

import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
adapter: adapter({fallback: 'index.html'})
},
preprocess: vitePreprocess()
};
export default config;