Initialisation du projet : Electron + Vite + React + TypeScript, Vitest, CI Windows
Some checks are pending
CI / windows (push) Waiting to run

This commit is contained in:
yasder5 2026-09-27 15:12:08 +02:00
commit afb305b3e8
15 changed files with 6166 additions and 0 deletions

15
electron.vite.config.ts Normal file
View file

@ -0,0 +1,15 @@
import { resolve } from 'node:path'
import { defineConfig } from 'electron-vite'
import react from '@vitejs/plugin-react'
const shared = { '@shared': resolve(__dirname, 'src/shared') }
export default defineConfig({
main: { resolve: { alias: shared } },
preload: { resolve: { alias: shared } },
renderer: {
root: 'src/renderer',
resolve: { alias: { ...shared, '@': resolve(__dirname, 'src/renderer/src') } },
plugins: [react()]
}
})