This commit is contained in:
chyoo
2026-06-24 11:22:52 +09:00
parent 895b86d204
commit 1b3df4e85c
292 changed files with 497812 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
import { resolve } from 'path'
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
import react from '@vitejs/plugin-react'
import tailwindcss from '@tailwindcss/vite'
export default defineConfig({
main: {
plugins: [externalizeDepsPlugin()]
},
preload: {
plugins: [externalizeDepsPlugin()]
},
renderer: {
server: {
port: 5176,
},
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},
plugins: [react(), tailwindcss()]
}
})