19 lines
353 B
TypeScript
19 lines
353 B
TypeScript
|
|
import { defineConfig } from 'vite'
|
||
|
|
import react from '@vitejs/plugin-react'
|
||
|
|
import electron from 'electron-vite/plugin'
|
||
|
|
|
||
|
|
export default defineConfig({
|
||
|
|
plugins: [
|
||
|
|
react(),
|
||
|
|
electron([
|
||
|
|
{
|
||
|
|
main: {
|
||
|
|
entry: 'src/main/index.ts',
|
||
|
|
},
|
||
|
|
preload: {
|
||
|
|
input: 'src/preload/index.ts',
|
||
|
|
},
|
||
|
|
]),
|
||
|
|
],
|
||
|
|
})
|