Skip to main content

@sveltejs/kit/vite

import { function sveltekit(config?: 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.

function sveltekit(): Promise<Plugin[]>;

Edit this page on GitHub llms.txt