Skip to content

Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.

chore(uniscript): add monaco-editor to peer dependencies (#4762)

白熱1005eb757b37
diff --git a/common/shared/vite/data.ts b/common/shared/vite/data.ts
index 9811f14387..a02b71d891 100644
--- a/common/shared/vite/data.ts
+++ b/common/shared/vite/data.ts
@@ -55,6 +55,11 @@ export const peerDepsMap = {
name: '@wendellhu/redi',
version: '@wendellhu/redi',
},
+ 'monaco-editor': {
+ global: 'monaco',
+ name: 'monaco-editor',
+ version: '>=0.50.0',
+ },
vue: {
global: 'Vue',
name: 'vue',