A fresh start for svite based on vite2 repo structure and setup
Package | Version (click for changelogs) |
---|---|
svite |
vite-plugin-svelte has moved: https://github.com/sveltejs/vite-plugin-svelte
Please update your dependency to @sveltejs/vite-plugin-svelte
- run
pnpm i
to install - run
pnpm dev
inpackages/playground/xxx
to start vite
- For typescript, svelte components must use
<script lang="ts">
, not<script lang="typescript">
otherwise vite dep scan fails. see https://discord.com/channels/804011606160703521/804062134051930222/806300072349270033 - exclusions in optimizeDeps also cover children (x or startswith x+/)
- svelte components should be sorted with style nodes last as js code may contain markup node positions
Join svite discord
- 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