kiwi/frontend/vite.config.ts
pyr0ball 8cbde774e5 chore: initial commit — kiwi Phase 2 complete
Pantry tracker app with:
- FastAPI backend + Vue 3 SPA frontend
- SQLite via circuitforge-core (migrations 001-005)
- Inventory CRUD, barcode scan, receipt OCR pipeline
- Expiry prediction (deterministic + LLM fallback)
- CF-core tier system integration
- Cloud session support (menagerie)
2026-03-30 22:20:48 -07:00

26 lines
571 B
TypeScript

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue()],
base: process.env.VITE_BASE_URL ?? '/',
build: {
rollupOptions: {
output: {
entryFileNames: 'assets/[name]-[hash:16].js',
chunkFileNames: 'assets/[name]-[hash:16].js',
assetFileNames: 'assets/[name]-[hash:16].[ext]',
},
},
},
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/api': {
target: 'http://localhost:8512',
changeOrigin: true,
},
},
},
})