svelte-deployment
3
总安装量
3
周安装量
#61653
全站排名
安装命令
npx skills add https://github.com/dawiddutoit/custom-claude --skill svelte-deployment
Agent 安装分布
mcpjam
3
gemini-cli
3
claude-code
3
junie
3
windsurf
3
zencoder
3
Skill 文档
IMPORTANT: Keep description on ONE line for Claude Code compatibility
prettier-ignore
Svelte Deployment
Quick Start
pnpm 10+: Add prepare script (postinstall disabled by default):
{
"scripts": {
"prepare": "svelte-kit sync"
}
}
Vite 7: Update both packages together:
pnpm add -D vite@7 @sveltejs/vite-plugin-svelte@6
Adapters
# Static site
pnpm add -D @sveltejs/adapter-static
# Node server
pnpm add -D @sveltejs/adapter-node
# Cloudflare
pnpm add -D @sveltejs/adapter-cloudflare
Reference Files
- library-authoring.md – Publishing Svelte packages
- pwa-setup.md – Offline-first with workbox
- cloudflare-gotchas.md – Streaming issues
Notes
- Cloudflare may strip
Transfer-Encoding: chunked(breaks streaming) - Library authors: include
sveltein keywords AND peerDependencies - Single-file bundle:
kit.output.bundleStrategy: 'single' - Last verified: 2025-01-14