chore: update `electron/*` entry

This commit is contained in:
草鞋没号 2022-06-06 20:22:38 +08:00
parent ab9e5bf3c2
commit 23a98a26b4
1 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ export default defineConfig({
react(),
electron({
main: {
entry: 'electron-main/index.ts',
entry: 'electron/main/index.ts',
vite: {
build: {
sourcemap: false,
@ -23,7 +23,7 @@ export default defineConfig({
preload: {
input: {
// You can configure multiple preload here
splash: join(__dirname, 'electron-preload/splash.ts'),
splash: join(__dirname, 'electron/preload/splash.ts'),
},
vite: {
build: {