You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md
+5-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This adapter will be installed by default when you use [`adapter-auto`](adapter-
12
12
-`adapter-cloudflare-workers` – supports all SvelteKit features; builds for Cloudflare Workers
13
13
-`adapter-static` – only produces client-side static assets; compatible with Cloudflare Pages
14
14
15
-
> Unless you have a specific reason to use `adapter-cloudflare-workers`, it's recommended that you use this adapter instead. Both adapters have equivalent functionality, but Cloudflare Pages offers features like GitHub integration with automatic builds and deploys, preview deployments, instant rollback and so on.
15
+
> Unless you have a specific reason to use `adapter-cloudflare-workers`, it's recommended that you use `adapter-cloudflare` instead. Both adapters have equivalent functionality, but Cloudflare Pages offers features like GitHub integration with automatic builds and deploys, preview deployments, instant rollback and so on.
16
16
17
17
## Usage
18
18
@@ -106,6 +106,10 @@ However, they will have no effect on responses dynamically rendered by SvelteKit
106
106
107
107
## Troubleshooting
108
108
109
+
### Further reading
110
+
111
+
You may wish to refer to [Cloudflare's documentation for deploying a SvelteKit site](https://developers.cloudflare.com/pages/framework-guides/deploy-a-svelte-site).
112
+
109
113
### Accessing the file system
110
114
111
115
You can't access the file system through methods like `fs.readFileSync` in Serverless/Edge environments. If you need to access files that way, do that during building the app through [prerendering](https://kit.svelte.dev/docs/page-options#prerender). If you have a blog for example and don't want to manage your content through a CMS, then you need to prerender the content (or prerender the endpoint from which you get it) and redeploy your blog everytime you add new content.
'Add the `|global` modifier to currently global transitions for backwards compatibility? More info at https://svelte.dev/docs/v4-migration-guide#transitions-are-local-by-default',
0 commit comments