21 lines
465 B
TypeScript
21 lines
465 B
TypeScript
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import { defineConfig } from 'vite'
|
|
import tsConfigPaths from 'vite-tsconfig-paths'
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
allowedHosts: ["dev.flexxon.app", "flexxon.app"]
|
|
},
|
|
plugins: [
|
|
tsConfigPaths({
|
|
projects: ['./tsconfig.json'],
|
|
}),
|
|
tanstackStart({
|
|
srcDirectory: 'src/app',
|
|
}),
|
|
react()
|
|
]
|
|
})
|