@sveltejs/vite-plugin-svelte-inspector
v4.0.1
Published
A [Svelte](https://svelte.dev) inspector plugin for [Vite](https://vitejs.dev).
Downloads
2,144,099
Readme
@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 */
})
]
});