Skip to main content

@sveltejs/kit/vite

import { function sveltekit(config?: import("@sveltejs/kit").KitConfig & Omit<SvelteConfig, "onwarn">): Promise<Plugin[]>

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

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