Skip to content

Commit e15e0e3

Browse files
committed
chore: deploy to vercel
1 parent 2a75bad commit e15e0e3

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

packages/plugin-rsc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ test-results
1111
.debug
1212
.vite-inspect
1313
.claude
14+
.output

packages/plugin-rsc/examples/react-router/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# rsc react-router
22

3-
https://vite-rsc-react-router.hiro18181.workers.dev
3+
- https://vite-rsc-react-router.hiro18181.workers.dev
4+
- https://vite-rsc-react-router-hiro18181.vercel.app
45

56
Vite RSC example based on demo made by React router team with Parcel:
67

packages/plugin-rsc/examples/react-router/nitro.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ export default defineEventHandler((event) => handler(toWebRequest(event)))
9999
// === basic settings
100100
// ===
101101
buildDir: 'dist/nitro/build',
102-
output: { dir: 'dist/nitro/output' },
102+
// output: { dir: 'dist/nitro/output' },
103103

104104
// ===
105105
// === disable other features

packages/plugin-rsc/examples/react-router/package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
"dev": "vite",
88
"build": "vite build --app",
99
"preview": "vite preview",
10+
"vc-build": "NITRO_PRESET=vercel vite build",
11+
"vc-release": "vercel deploy --prebuilt",
1012
"cf-dev": "vite -c ./cf/vite.config.ts",
1113
"cf-build": "vite -c ./cf/vite.config.ts build",
1214
"cf-preview": "vite -c ./cf/vite.config.ts preview",

0 commit comments

Comments
 (0)