build(app): migrate to electron-vite (main/preload/renderer), keep electron-builder (Phase 5d-3a)
Restructure app into src/{main,preload,renderer}; electron.vite.config.ts builds
all three (each main module its own input so CJS requires + the indexer worker
resolve; better-sqlite3 externalized; Vue plugin for renderer). main/index.js
paths updated for the out/ layout + ELECTRON_RENDERER_URL. Still JS/CJS — TS+ESM
and core consumption are the next stages. Verified: npm run dev launches clean;
electron-vite build succeeds; root suite 119/119.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { test } from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { buildSidebarProjects } from '../app/renderer/src/sidebar-projects.mjs';
|
||||
import { buildSidebarProjects } from '../app/src/renderer/src/sidebar-projects.mjs';
|
||||
|
||||
test('session sidebar projects follow database recency order instead of label order', () => {
|
||||
const sessions = [
|
||||
|
||||
Reference in New Issue
Block a user