Files
directify/apps/desktop/electron.vite.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

23 lines
562 B
TypeScript

import { resolve } from "node:path";
import { defineConfig, externalizeDepsPlugin } from "electron-vite";
import react from "@vitejs/plugin-react";
const workspacePackages = ["@directify/shared", "@directify/ui"];
export default defineConfig({
main: {
plugins: [externalizeDepsPlugin({ exclude: workspacePackages })],
},
preload: {
plugins: [externalizeDepsPlugin({ exclude: workspacePackages })],
},
renderer: {
resolve: {
alias: {
"@renderer": resolve("src/renderer/src"),
},
},
plugins: [react()],
},
});