Move the existing Hono API, React console, tests, build configuration, and feature documentation from GoodBuddy into a standalone project. Keep the current interactive-prototype behavior and production limitations. Document the source commit and sibling-checkout links to the authoritative Desktop network architecture. Independent install, tests, typecheck, lint, build, and built-service HTTP smoke checks passed.
19 lines
435 B
TypeScript
19 lines
435 B
TypeScript
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
import { defineConfig } from 'vitest/config'
|
|
|
|
export default defineConfig({
|
|
plugins: [react(), tailwindcss()],
|
|
server: {
|
|
port: 5174,
|
|
proxy: {
|
|
'/api': 'http://127.0.0.1:8787'
|
|
}
|
|
},
|
|
test: {
|
|
environment: 'jsdom',
|
|
setupFiles: ['./src/test-setup.ts'],
|
|
exclude: ['build-server/**', 'dist/**', 'node_modules/**']
|
|
}
|
|
})
|