mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-27 16:25:36 +00:00
A standalone Electron + React + Tailwind + shadcn/ui app that connects to the localhost bridge `/iris studio map` opens and draws the world map with the v3e studio's views, shortcuts, hover card, legend and styling. - Finds running bridges from ~/.iris/studio/bridges and iris-studio:// links - Biome, region, height and biome layer views from 128-pixel tiles - Coarser previews first, so the screen fills sooner, then sharpens - Hover card with Shift details, legend census with click to highlight - Ctrl+click teleport, Alt+click open file, right-click menu - Light, dark and system themes from the v3e studio palette
22 lines
493 B
TypeScript
22 lines
493 B
TypeScript
import { resolve } from 'node:path'
|
|
import { defineConfig } from 'electron-vite'
|
|
import react from '@vitejs/plugin-react'
|
|
import tailwindcss from '@tailwindcss/vite'
|
|
|
|
export default defineConfig({
|
|
main: {},
|
|
preload: {
|
|
build: {
|
|
rollupOptions: {
|
|
output: { format: 'cjs', entryFileNames: '[name].cjs' }
|
|
}
|
|
}
|
|
},
|
|
renderer: {
|
|
resolve: {
|
|
alias: { '@': resolve(import.meta.dirname, 'src/renderer/src') }
|
|
},
|
|
plugins: [react(), tailwindcss()]
|
|
}
|
|
})
|