Files
koins/apps/desktop/vite.config.ts
T
TZGyn f46e61ed5e fix blank page, icons, add logging and EVM balance chart
- Fix blank page: set viewsRoot, base:'', history.replaceState in index.html
- Fix chain icons: add dist/icons→views/mainview/icons copy rule
- Add file-based logger (src/bun/lib/logger.ts) with logToFile RPC
- Add frontend error overlay + global error listeners in index.svelte
- Add EVM balance chart with time range filters (EvmDashboard.svelte)
- Replace console.log with file logger throughout backend
- Improve get-env.ts to read version.json for channel detection
2026-06-27 16:59:15 +08:00

16 lines
404 B
TypeScript

import tailwindcss from '@tailwindcss/vite'
import { svelte } from '@sveltejs/vite-plugin-svelte'
import { router } from 'sv-router/vite-plugin'
import { defineConfig } from 'vite'
import { fileURLToPath } from 'url'
export default defineConfig({
base: '',
plugins: [tailwindcss(), svelte(), router()],
resolve: {
alias: {
$lib: fileURLToPath(new URL('./src/lib', import.meta.url)),
},
},
})