chore: update `electron/*` entry
This commit is contained in:
parent
ab9e5bf3c2
commit
23a98a26b4
|
@ -13,7 +13,7 @@ export default defineConfig({
|
||||||
react(),
|
react(),
|
||||||
electron({
|
electron({
|
||||||
main: {
|
main: {
|
||||||
entry: 'electron-main/index.ts',
|
entry: 'electron/main/index.ts',
|
||||||
vite: {
|
vite: {
|
||||||
build: {
|
build: {
|
||||||
sourcemap: false,
|
sourcemap: false,
|
||||||
|
@ -23,7 +23,7 @@ export default defineConfig({
|
||||||
preload: {
|
preload: {
|
||||||
input: {
|
input: {
|
||||||
// You can configure multiple preload here
|
// You can configure multiple preload here
|
||||||
splash: join(__dirname, 'electron-preload/splash.ts'),
|
splash: join(__dirname, 'electron/preload/splash.ts'),
|
||||||
},
|
},
|
||||||
vite: {
|
vite: {
|
||||||
build: {
|
build: {
|
||||||
|
|
Loading…
Reference in New Issue