chore: Update Vite config and remove deprecated migration code
- Exclude additional chunk in Electron Vite configuration - Remove outdated migration logic for providers and MinApps
This commit is contained in:
parent
0278228a84
commit
65b30b3b0d
@ -51,7 +51,7 @@ export default defineConfig({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
optimizeDeps: {
|
optimizeDeps: {
|
||||||
exclude: ['chunk-PZ64DZKH.js', 'chunk-JMKENWIY.js']
|
exclude: ['chunk-PZ64DZKH.js', 'chunk-JMKENWIY.js', 'chunk-UXYB6GHG.js']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
@ -994,16 +994,6 @@ const migrateConfig = {
|
|||||||
enabled: false
|
enabled: false
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
state.llm.providers = state.llm.providers.filter((provider) => provider.id !== 'graphrag-kylin-mountain')
|
|
||||||
|
|
||||||
if (state.minapps) {
|
|
||||||
const aistudio = DEFAULT_MIN_APPS.find((app) => app.id === 'aistudio')
|
|
||||||
if (aistudio) {
|
|
||||||
state.minapps.enabled.push(aistudio)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return state
|
return state
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user