- 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
16 lines
404 B
TypeScript
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)),
|
|
},
|
|
},
|
|
})
|