Files
directify/apps/desktop/vite.preview.config.ts
T
pvrzz ca53ea4956 Add directify desktop app source
osu!lazer-style beatmap search (mode, mania key count, genre, language,
star-rating range) against catboy.best-compatible mirrors with automatic
fallback, library management with offline-cached cover art, a collection.db
editor, portable beatpack backup/restore, i18n (en/es/ja), light/dark theme,
keyboard shortcuts, proxy support, and an in-app GitHub Releases update check.
2026-09-17 19:31:30 -04:00

22 lines
532 B
TypeScript

import { resolve } from "node:path";
import react from "@vitejs/plugin-react";
import { defineConfig } from "vite";
/**
* Browser-only preview of the renderer UI (no Electron, no real IPC — see
* `src/renderer/src/mock-directify.ts`). Not used by the real app build,
* which goes through `electron.vite.config.ts` instead.
*/
export default defineConfig({
root: "src/renderer",
resolve: {
alias: {
"@renderer": resolve("src/renderer/src"),
},
},
plugins: [react()],
server: {
port: 5174,
},
});