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