Svelte + Cloudflare
Static deploy to Cloudflare Workers with wrangler. This page shows exactly what pickstack adds to a Svelte 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 svelte --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": "./dist/",
"not_found_handling": "single-page-application"
}
}
Changes to existing files
node_modules dist+.wrangler .env .env.local .DS_Store⋯ 1 unchanged lines
Project files
.gitignoreREADME.mdindex.htmlpackage.jsonsrc/App.sveltesrc/app.csssrc/lib/Counter.sveltesrc/main.tssvelte.config.jstsconfig.app.jsontsconfig.jsontsconfig.node.jsonvite.config.tswrangler.json