diff --git a/changelog.md b/changelog.md index 2fd1905..a876ff6 100644 --- a/changelog.md +++ b/changelog.md @@ -6,3 +6,4 @@ ### Bug Fixes - 修复托盘菜单在Linux下崩溃的问题 +- 修复编辑器补全/提示/格式化问题 diff --git a/electron.vite.config.ts b/electron.vite.config.ts index 4dad0b1..b1c86d5 100644 --- a/electron.vite.config.ts +++ b/electron.vite.config.ts @@ -31,7 +31,7 @@ export default defineConfig({ react(), monacoEditorPlugin({ languageWorkers: ['editorWorkerService', 'typescript', 'json'], - customDistPath: () => 'out/renderer', + customDistPath: (_, out) => `${out}/monacoeditorwork`, customWorkers: [ { label: 'yaml',