Skip to content

Commit

Permalink
fix: fix dev mode check
Browse files Browse the repository at this point in the history
  • Loading branch information
JellyBrick authored Nov 7, 2023
1 parent b54509f commit 932cee6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig({
},
};

if (command === 'serve' && mode === 'development') {
if (mode === 'development') {
return commonConfig;
}

Expand Down Expand Up @@ -54,7 +54,7 @@ export default defineConfig({
},
};

if (command === 'serve' && mode === 'development') {
if (mode === 'development') {
return commonConfig;
}

Expand Down Expand Up @@ -87,7 +87,7 @@ export default defineConfig({
},
};

if (command === 'serve' && mode === 'development') {
if (mode === 'development') {
return commonConfig;
}

Expand Down

0 comments on commit 932cee6

Please sign in to comment.