Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork120
Svelte plugin forhttps://vite.dev
License
sveltejs/vite-plugin-svelte
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
The officialSvelte plugin forVite.
npm install --save-dev @sveltejs/vite-plugin-svelte
// vite.config.jsimport{defineConfig}from'vite';import{svelte}from'@sveltejs/vite-plugin-svelte';exportdefaultdefineConfig({plugins:[svelte({/* plugin options */})]});
| Package | Changelog |
|---|---|
| @sveltejs/vite-plugin-svelte | Changelog |
| @sveltejs/vite-plugin-svelte-inspector | Changelog |
Join theSvelte Discord server!
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 ito install dependenciespnpm playwright install chromiumto install required playwright browser binaries via local playwright-coreNOTEThis repo uses
playwright-corewith a bin alias toplaywrightvia package.json scriptCallingpnpm dlx playwright install chromiumwill not work.pnpm checkandpnpm:testto validate changespnpm formatto format source codepnpm test:unit,pnpm test:serveorpnpm test:buildto run a subset of testspnpm test <e2e-directory-name>to focus a specific testsuitepnpm changesetto generate a changesetpnpm generate:typesto generate public types from jsdoc (this is required when changing types and validated in ci)
- Svelte andVite creators, maintainers and contributors
- rixo - without svelte-hmr and your support this would not have been possible
- intrnl - initial inspiration fromhttps://github.com/intrnl/vite-plugin-svelte
About
Svelte plugin forhttps://vite.dev
Topics
Resources
License
Contributing
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
Uh oh!
There was an error while loading.Please reload this page.