svelte.config.js (665B)
1 import adapter from '@sveltejs/adapter-auto'; 2 import { vitePreprocess } from '@sveltejs/kit/vite'; 3 4 /** @type {import('@sveltejs/kit').Config} */ 5 const config = { 6 // Consult https://kit.svelte.dev/docs/integrations#preprocessors 7 // for more information about preprocessors 8 preprocess: vitePreprocess(), 9 10 kit: { 11 // adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list. 12 // If your environment is not supported or you settled on a specific environment, switch out the adapter. 13 // See https://kit.svelte.dev/docs/adapters for more information about adapters. 14 adapter: adapter() 15 } 16 }; 17 18 export default config;