Skip to content
Source
Sign inSign up
TanStack/router

fix: fix static server functions #5650

Mergedbrenelz(GitHub profile, opens in a new tab)merged 8 commits intomain fromrefs/pull/5650/headmerged by schiller-manuel(GitHub profile, opens in a new tab)

Showing 6 changed files with 4 additions and 0 deletions (loading 2).

x
0 of 6 viewed, 6 left
1 addition and 0 deletionsexamples/react/start-basic-static/package.jsonModified
View file
@@ -13,6 +13,7 @@
"@tanstack/react-router-devtools": "^1.133.32",
"@tanstack/react-start": "^1.133.32",
"@tanstack/start-static-server-functions": "^1.133.28",
+ "@vitejs/plugin-react": "^5.1.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"redaxios": "^0.5.1",
2 additions and 0 deletionsexamples/react/start-basic-static/vite.config.tsModified
View file
@@ -1,6 +1,7 @@
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'
+import viteReact from '@vitejs/plugin-react'
​
export default defineConfig({
server: {
@@ -24,5 +25,6 @@
failOnError: false,
},
}),