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
+20
View File
@@ -0,0 +1,20 @@
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: {
resolve: {
alias: {
'@renderer': resolve('src/renderer/src')
}
},
plugins: [react(), tailwindcss()]
}
});