@sveltejs/vite-plugin-svelte
TypeScript icon, indicating that this package has built-in type declarations

3.0.2 • Public • Published

@sveltejs/vite-plugin-svelte

The official Svelte plugin for Vite.

Usage

// vite.config.js
import { defineConfig } from 'vite';
import { svelte } from '@sveltejs/vite-plugin-svelte';

export default defineConfig({
  plugins: [
    svelte({
      /* plugin options */
    })
  ]
});

Documentation

License

MIT

Package Sidebar

Install

npm i @sveltejs/vite-plugin-svelte

Weekly Downloads

424,033

Version

3.0.2

License

MIT

Unpacked Size

125 kB

Total Files

33

Last publish

Collaborators

  • rich_harris
  • svelte-admin
  • conduitry
  • dominik_g