подготовка к билду

This commit is contained in:
Ivan Fontosh
2026-04-19 23:22:05 +08:00
parent 2fa20da94d
commit 726c89e104
13 changed files with 180 additions and 13 deletions
+2
View File
@@ -8,6 +8,8 @@ export default defineConfig(({ mode }) => {
const isProd = mode === 'production';
return {
/** Иначе в упакованном Electron `file://` запросы идут в `/assets/...` с корня диска — чёрный экран. */
base: isProd ? './' : '/',
root: path.resolve(__dirname, 'app/renderer'),
plugins: [
react({