File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -305,4 +305,4 @@ export const SlowLogIcon = createIconComponent(SlowLogSvg)
305305export const WorkbenchIcon = createIconComponent ( WorkbenchSvg )
306306
307307export const ShieldIcon = createIconComponent ( ShieldSvg )
308- export const RedisSoftwareIcon = createIconComponent ( RedisSoftwareSvg )
308+ export const RedisSoftwareIcon = createIconComponent ( RedisSoftwareSvg )
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import 'modern-normalize/modern-normalize.css'
1010import '@redis-ui/styles/normalized-styles.css'
1111import '@redis-ui/styles/fonts.css'
1212
13- import { ipcThemeChange } from 'uiSrc/electron/utils'
13+ import { ipcThemeChange } from 'uiSrc/electron/utils/ipcThemeChange '
1414import {
1515 BrowserStorageItem ,
1616 Theme ,
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ import react from '@vitejs/plugin-react';
44import svgr from 'vite-plugin-svgr' ;
55import { ViteEjsPlugin } from 'vite-plugin-ejs' ;
66import { viteStaticCopy } from 'vite-plugin-static-copy' ;
7- import path , { resolve } from 'path'
8- import { fileURLToPath } from 'url'
7+ import path , { resolve } from 'path' ;
8+ import { fileURLToPath } from 'url' ;
9+ import { defaultConfig } from '../config/default' ;
910
1011const riPlugins = [
1112 { name : 'redisearch' , entry : 'src/main.tsx' } ,
@@ -94,7 +95,7 @@ export default defineConfig({
9495 '/main.scss' ,
9596 '/App.scss' ,
9697 '/packages/clients-list/src/styles/styles.scss' ,
97- '/packages/redisearch/src/styles/styles.scss'
98+ '/packages/redisearch/src/styles/styles.scss' ,
9899 ] ;
99100 if ( skipFiles . every ( ( file ) => ! filename . endsWith ( file ) ) ) {
100101 return `
@@ -112,6 +113,8 @@ export default defineConfig({
112113 define : {
113114 global : 'globalThis' ,
114115 'process.env' : { } ,
116+ // setup default riConfig since it might be used in constants
117+ riConfig : defaultConfig ,
115118 } ,
116119} ) ;
117120
You can’t perform that action at this time.
0 commit comments