Skip to content

Commit 8cd02a8

Browse files
authored
docs: update Cloudflare Pages deployment settings (#10459)
1 parent 4e62135 commit 8cd02a8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,9 @@ Please follow the [Get Started Guide](https://developers.cloudflare.com/pages/ge
5353

5454
When configuring your project settings, you must use the following settings:
5555

56-
- **Framework preset**None
56+
- **Framework preset**SvelteKit
5757
- **Build command**`npm run build` or `vite build`
5858
- **Build output directory**`.svelte-kit/cloudflare`
59-
- **Environment variables**
60-
- `NODE_VERSION`: `16`
61-
62-
> You need to add a `NODE_VERSION` environment variable to both the "production" and "preview" environments. You can add this during project setup or later in the Pages project settings. SvelteKit requires Node `16.14` or later, so you should use `16` as the `NODE_VERSION` value.
6359

6460
## Bindings
6561

0 commit comments

Comments
 (0)