mirror of
https://gh.catmak.name/https://github.com/mihomo-party-org/mihomo-party
synced 2025-12-27 13:10:30 +08:00
fix editor
This commit is contained in:
parent
a7634eaba4
commit
7442191a0c
@ -6,3 +6,4 @@
|
|||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
|
|
||||||
- 修复托盘菜单在Linux下崩溃的问题
|
- 修复托盘菜单在Linux下崩溃的问题
|
||||||
|
- 修复编辑器补全/提示/格式化问题
|
||||||
|
|||||||
@ -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',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user