chore: update electron/* entry
This commit is contained in:
1 parent
ab9e5bf3c2
commit
23a98a26b4
1 file changed
+2
-2
+2
-2
@@ -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: {
|
||||||
|
|||||||
Reference in new issue
Block a user