Workspaces: config (copied), outreach-core (schema + actions/queries + hard gates), outreach-ai (Gemini client + embeddings copies, profiler and mission-fit-judge agent stubs), outreach-worker (DBOS executor with nightly ingest + hourly expiry workflows), outreach-review (RR7 review queue v0). Initial drizzle migration incl. pgvector extension. Stack contract: Yarn 4.5.0 + Turbo, Node 22.16, Drizzle 0.44.6 + pgvector, DBOS 4.17.6, @google/genai on Vertex, gemini-embedding-001 @1536, React Router v7. Files copied from novelpad-desktop carry provenance headers @ 62c56b87. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
533 B
TypeScript
22 lines
533 B
TypeScript
import { reactRouter } from '@react-router/dev/vite';
|
|
import tailwindcss from 'tailwindcss';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [reactRouter()],
|
|
build: {
|
|
target: 'es2022',
|
|
sourcemap: process.env.NODE_ENV !== 'production',
|
|
},
|
|
ssr: {
|
|
// pg is Node-only (uses net/tls) and should load from Node's module
|
|
// resolver rather than Vite's SSR bundler, matching apps/website.
|
|
external: ['pg'],
|
|
},
|
|
css: {
|
|
postcss: {
|
|
plugins: [tailwindcss()],
|
|
},
|
|
},
|
|
});
|