- TanStack Start (React 19, Tailwind 4) frontend recreated from Stitch design - PocketBase backend with schema migration + idempotent content seed - Single Docker image running both services (non-root, healthchecked) - deploy.sh to build & push to registry.tanshu.com - Ansible playbook (roles: app, caddy) deploying to www.greatbear.in with Caddy TLS entries for the site and the PocketBase admin
23 lines
458 B
TypeScript
23 lines
458 B
TypeScript
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
|
|
import { defineConfig } from 'vite'
|
|
import viteReact from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { nitro } from 'nitro/vite'
|
|
|
|
export default defineConfig({
|
|
server: {
|
|
port: 3000,
|
|
},
|
|
resolve: {
|
|
tsconfigPaths: true,
|
|
},
|
|
plugins: [
|
|
tailwindcss(),
|
|
tanstackStart({
|
|
srcDirectory: 'src',
|
|
}),
|
|
viteReact(),
|
|
nitro(),
|
|
],
|
|
})
|