Skip to main content

@sveltejs/kit/vite

import { function sveltekit(): Promise<Plugin[]>

Returns the SvelteKit Vite plugins.

sveltekit
} from '@sveltejs/kit/vite';

sveltekit

Returns the SvelteKit Vite plugins. Since version 2.62.0 you can pass configuration directly, in which case svelte.config.js is ignored.

function sveltekit(
	config?: KitConfig & Omit<SvelteConfig, 'onwarn'>
): Promise<Plugin[]>;

Edit this page on GitHub llms.txt