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.
TypeScript boardcollaborationdocdocxexceloffce365officepdfpptpptxpresentationsdksheetslidesspreadsheetuniverwordwordprocessorworkspacexlsx
chore: fix umd build with react (#4022)
#FF0000fbeabe968dbd
diff --git a/common/shared/vite/auto-detected-external-plugin.ts b/common/shared/vite/auto-detected-external-plugin.tsindex abefd70b64..dfccd849d5 100644--- a/common/shared/vite/auto-detected-external-plugin.ts+++ b/common/shared/vite/auto-detected-external-plugin.ts@@ -23,11 +23,11 @@ const peerDepsMap = {name: 'react',version: '^16.9.0 || ^17.0.0 || ^18.0.0',},- 'react/jsx-runtime': {- global: 'react/jsx-runtime',- name: 'react',- version: 'react',- },+ // 'react/jsx-runtime': {+ // global: 'react/jsx-runtime',+ // name: 'react',+ // version: 'react',+ // },'react-dom': {global: 'ReactDOM',name: 'react-dom',