initial commit

This commit is contained in:
ray
2026-07-12 10:01:39 -04:00
commit fc8290d668
185 changed files with 38831 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
plugins: [react(), tailwindcss()],
optimizeDeps: {
exclude: ['pocketbase'], // uses 'import' as method name — breaks esbuild pre-bundle
},
server: {
host: '0.0.0.0',
proxy: {
'/pb': {
target: 'http://127.0.0.1:8091',
changeOrigin: true,
rewrite: (path) => path.replace(/^\/pb/, ''),
},
'/deepseek': {
target: 'https://127.0.0.1:3448',
changeOrigin: true,
secure: false, // Let's Encrypt cert hostname mismatch on 127.0.0.1
},
},
},
})