🎉 initial commit
This commit is contained in:
12
electron.vite.config.ts
Normal file
12
electron.vite.config.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { resolve } from 'path'
|
||||
import { defineConfig, externalizeDepsPlugin } from 'electron-vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
|
||||
export default defineConfig({
|
||||
main: { plugins: [externalizeDepsPlugin()] },
|
||||
preload: { plugins: [externalizeDepsPlugin()] },
|
||||
renderer: {
|
||||
resolve: { alias: { '@renderer': resolve('src/renderer') } },
|
||||
plugins: [react()]
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user