fix editor

This commit is contained in:
pompurin404 2024-08-19 20:20:19 +08:00
parent a7634eaba4
commit 7442191a0c
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -6,3 +6,4 @@
### Bug Fixes ### Bug Fixes
- 修复托盘菜单在Linux下崩溃的问题 - 修复托盘菜单在Linux下崩溃的问题
- 修复编辑器补全/提示/格式化问题

View File

@ -31,7 +31,7 @@ export default defineConfig({
react(), react(),
monacoEditorPlugin({ monacoEditorPlugin({
languageWorkers: ['editorWorkerService', 'typescript', 'json'], languageWorkers: ['editorWorkerService', 'typescript', 'json'],
customDistPath: () => 'out/renderer', customDistPath: (_, out) => `${out}/monacoeditorwork`,
customWorkers: [ customWorkers: [
{ {
label: 'yaml', label: 'yaml',