mirror of
https://github.com/pompurin404/mihomo-party.git
synced 2024-11-16 03:32:17 +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…
Reference in New Issue
Block a user