kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
19 wiersze
369 B
TypeScript
19 wiersze
369 B
TypeScript
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import { defineConfig } from 'vite'
|
|
import tsConfigPaths from 'vite-tsconfig-paths'
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3001
|
|
},
|
|
plugins: [
|
|
tsConfigPaths(),
|
|
tanstackStart({
|
|
target: 'vercel'
|
|
})
|
|
],
|
|
ssr: {
|
|
noExternal: ['posthog-js', 'posthog-js/react']
|
|
}
|
|
})
|