mirror of
https://github.com/pvrzz/directify.git
synced 2026-11-29 05:22:24 +00:00
ca53ea4956
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.
22 lines
532 B
TypeScript
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,
|
|
},
|
|
});
|