Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 524 Bytes

File metadata and controls

26 lines (20 loc) · 524 Bytes

@sveltejs/vite-plugin-svelte-inspector

A Svelte inspector plugin for Vite.

Usage

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

export default defineConfig({
  plugins: [
    // the svelte plugin is required to work
    svelte(),
    svelteInspector({
      /* plugin options */
    })
  ]
});

License

MIT