Skip to content

Commit 48e4f0c

Browse files
authored
fix: electron build app type check (#4550)
1 parent 42c816e commit 48e4f0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

redisinsight/ui/vite.config.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { fileURLToPath, URL } from 'url';
1010
import path from 'path';
1111
import { defaultConfig } from './src/config/default';
1212

13-
const isElectron = defaultConfig.app.type === 'electron';
13+
const isElectron = defaultConfig.app.type === 'ELECTRON';
1414
// set path to index.tsx in the index.html
1515
process.env.RI_INDEX_NAME = isElectron ? 'indexElectron.tsx' : 'index.tsx';
1616
const outDir = isElectron ? '../dist/renderer' : './dist';

0 commit comments

Comments
 (0)