Skip to content

Commit 7577f2e

Browse files
committed
chore(rsc): remove rolldown-vite cf plugin workaround
1 parent 00c2cd6 commit 7577f2e

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

packages/plugin-rsc/examples/react-router/cf/vite.config.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -48,24 +48,12 @@ export default defineConfig({
4848
include: ['react-router > cookie', 'react-router > set-cookie-parser'],
4949
exclude: ['react-router'],
5050
},
51-
build: {
52-
rollupOptions: {
53-
// @ts-ignore rolldown
54-
platform: 'neutral',
55-
},
56-
},
5751
},
5852
rsc: {
5953
optimizeDeps: {
6054
include: ['react-router > cookie', 'react-router > set-cookie-parser'],
6155
exclude: ['react-router'],
6256
},
63-
build: {
64-
rollupOptions: {
65-
// @ts-ignore rolldown
66-
platform: 'neutral',
67-
},
68-
},
6957
},
7058
},
7159
})

packages/plugin-rsc/examples/starter-cf-single/vite.config.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ export default defineConfig({
3131
rollupOptions: {
3232
// ensure `default` export only in cloudflare entry output
3333
preserveEntrySignatures: 'exports-only',
34-
// @ts-ignore rolldown
35-
platform: 'neutral',
3634
},
3735
},
3836
optimizeDeps: {

0 commit comments

Comments
 (0)