Skip to content

Commit a6e4831

Browse files
fix: add @tanstack/readt-devtools to optimizeDeps.exclude for react-start vite pluging option
1 parent 3bf18a7 commit a6e4831

File tree

1 file changed

+2
-0
lines changed
  • packages/react-start/src/plugin

1 file changed

+2
-0
lines changed

packages/react-start/src/plugin/vite.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export function tanstackStart(
5555
'@tanstack/react-start',
5656
'@tanstack/react-router',
5757
'@tanstack/react-router-devtools',
58+
// Excluding the react-devtools for compatibility with the Cloudflare plugin
59+
'@tanstack/react-devtools',
5860
],
5961
include: [
6062
'react',

0 commit comments

Comments
 (0)