We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c276f33 commit 314c8b3Copy full SHA for 314c8b3
1 file changed
vite.config.ts
@@ -3,7 +3,6 @@ import { tanstackStart } from '@tanstack/react-start/plugin/vite';
3
import viteReact from '@vitejs/plugin-react';
4
import tsconfigPaths from 'vite-tsconfig-paths';
5
import tailwindcss from '@tailwindcss/vite';
6
-import netlify from "@netlify/vite-plugin";
7
8
export default defineConfig({
9
server: {
@@ -15,14 +14,16 @@ export default defineConfig({
15
14
router: {
16
routesDirectory: 'app',
17
},
+ server: {
18
+ preset: 'netlify',
19
+ },
20
}),
21
tailwindcss(),
22
tsconfigPaths({
23
projects: ['./tsconfig.json'],
24
ignoreConfigErrors: true,
25
26
viteReact(),
- netlify(),
27
],
28
ssr: {
29
noExternal: ['@tanstack/router-core'],
0 commit comments