{"repo":"sveltejs/vite-plugin-svelte","free":true,"listed":false,"github":"https://github.com/sveltejs/vite-plugin-svelte","clone":"git clone https://github.com/sveltejs/vite-plugin-svelte.git","description":"Svelte plugin for https://vite.dev","language":"JavaScript","stars":1038,"topics":["svelte","vite-plugin","vite"],"license":"MIT","category":"ui-components","readme_excerpt":"@sveltejs/vite-plugin-svelte The official Svelte plugin for Vite. Installation Usage Documentation - Plugin options - Svelte Inspector - FAQ Packages Package Changelog ----------------------------------------------------------- ----------------------------------------------------- @sveltejs/vite-plugin-svelte Changelog Got a question? / Need help? Join the Svelte Discord server! Development All scripts work from monorepo-root. The plugins are unbundled esm, a build step is not required while developing locally, but restarting local dev-servers can be needed to apply changes. - pnpm i to install dependencies - pnpm playwright install chromium to install required playwright browser binaries via local playwright-core NOTE This repo uses playwright-core with a bin alias to playwright via package.json script Calling pnpm dlx playwright install chromium will not work. - pnpm check and pnpm:test to validate changes - pnpm format to format source code - pnpm test:unit , pnpm test:serve or pnpm test:build to run a subset of tests - pnpm test to focus a specific testsuite - pnpm changeset to generate a changeset - pnpm generate:types to generate public types from jsdoc (this is required when changing types and validated in ci) Credits - Svelte and Vite creators, maintainers and contributors - rixo - without svelte-hmr and your support this would not have been possible - intrnl - initial inspiration from https://github.com/intrnl/vite-plugin-svelte License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/sveltejs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sveltejs/vite-plugin-svelte/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}