- 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
31 lines
694 B
TypeScript
31 lines
694 B
TypeScript
import type { ElectrobunConfig } from 'electrobun'
|
|
|
|
export default {
|
|
app: {
|
|
name: 'koins',
|
|
identifier: 'koins.tzgyn.com',
|
|
version: '0.0.1',
|
|
},
|
|
build: {
|
|
// Vite builds to dist/, we copy from there
|
|
copy: {
|
|
'dist/index.html': 'views/mainview/index.html',
|
|
'dist/assets': 'views/mainview/assets',
|
|
'dist/icons': 'views/mainview/icons',
|
|
'drizzle': 'drizzle',
|
|
'src/bun/native/biometric-helper': 'native/biometric-helper',
|
|
},
|
|
// Ignore Vite output in watch mode — HMR handles view rebuilds separately
|
|
watchIgnore: ['dist/**'],
|
|
mac: {
|
|
bundleCEF: false,
|
|
},
|
|
linux: {
|
|
bundleCEF: false,
|
|
},
|
|
win: {
|
|
bundleCEF: false,
|
|
},
|
|
},
|
|
} satisfies ElectrobunConfig
|