Skip to content

Commit 0683940

Browse files
authored
Docs(Start): remove target from hosting docs (#5204)
This removes reference to the target property from the hosting docs as this is now defined through vite plugins
1 parent 065722a commit 0683940

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

docs/start/framework/react/hosting.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ However, since hosting is one of the most crucial aspects of your application's
1616
> [!WARNING]
1717
> The page is still a work in progress. We'll keep updating this page with guides on deployment to different hosting providers soon!
1818
19-
When a TanStack Start application is being deployed, the `target` value in the TanStack Start Vite plugin in the`vite.config.ts` file determines the deployment target. The deployment target can be set to one of the following values:
19+
Once you've chosen a deployment target, you can follow the deployment guidelines below to deploy your TanStack Start application to the hosting provider of your choice:
2020

21-
- [`cloudflare-pages`](#cloudflare-workers): Deploy to Cloudflare Pages
21+
- [`cloudflare-workers`](#cloudflare-workers): Deploy to Cloudflare Workers
2222
- [`netlify`](#netlify): Deploy to Netlify
2323
- [`vercel`](#vercel): Deploy to Vercel
2424
- [`railway`](#nodejs--railway--docker): Deploy to Railway
@@ -27,8 +27,6 @@ When a TanStack Start application is being deployed, the `target` value in the T
2727
- [`bun`](#bun): Deploy to a Bun server
2828
- ... and more to come!
2929

30-
Once you've chosen a deployment target, you can follow the deployment guidelines below to deploy your TanStack Start application to the hosting provider of your choice.
31-
3230
### Cloudflare Workers ⭐ _Official Partner_
3331

3432
<a href="https://www.cloudflare.com?utm_source=tanstack" alt="Cloudflare Logo">
@@ -45,7 +43,7 @@ When deploying to Cloudflare Workers, you'll need to complete a few extra steps
4543

4644
1. Update `vite.config.ts`
4745

48-
Set the `target` value to `cloudflare-module` in your `vite.config.ts` file.
46+
Add the cloudflare plugin to your `vite.config.ts` file.
4947

5048
```ts
5149
// vite.config.ts
@@ -207,7 +205,7 @@ Make sure that your `react` and `react-dom` packages are set to version 19.0.0 o
207205
npm install react@rc react-dom@rc
208206
```
209207

210-
Set the `target` value to `bun` in your `vite.config.ts` file.
208+
Ensure your `vite.config.ts` file is correct.
211209

212210
```ts
213211
// vite.config.ts

0 commit comments

Comments
 (0)