SvelteKit + Cloudflare
Static deploy to Cloudflare Workers with wrangler. This page shows exactly what pickstack adds to a SvelteKit project for Cloudflare: the packages, the new files and the changes to existing ones. Every combination is installed, built, linted and tested in CI.
$ npm create pickstack@latest my-app -- --framework sveltekit --modules cloudflare --yesCustomize in the configurator
Packages it adds
| Package | Version | Type |
|---|---|---|
wrangler | ^4.168.0 | dev |
New files
{
"$schema": "node_modules/wrangler/config-schema.json",
"name": "my-app",
"compatibility_date": "2026-11-25",
"assets": {
"directory": "./build/",
"not_found_handling": "404-page"
}
}
Changes to existing files
⋯ 1 unchanged lines dist .svelte-kit build+.wrangler .env .env.local .DS_Store⋯ 1 unchanged lines
Project files
.gitignoreREADME.mdpackage.jsonsrc/app.d.tssrc/app.htmlsrc/lib/Counter.sveltesrc/lib/index.tssrc/routes/+layout.sveltesrc/routes/+layout.tssrc/routes/+page.sveltesrc/routes/about/+page.sveltesrc/routes/layout.cssstatic/robots.txttsconfig.jsonvite.config.tswrangler.json