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.

build: add support for chrome70 (#1304)

白熱eaaf723cdfb7
diff --git a/common/shared/vite/index.js b/common/shared/vite/index.js
index f1cbecccc2..6f5a5505a9 100644
--- a/common/shared/vite/index.js
+++ b/common/shared/vite/index.js
@@ -60,6 +60,7 @@ function createViteConfig(overrideConfig, /** @type {IOptions} */ options) {
const originalConfig = {
build: {
+ target: 'chrome70',
outDir: 'lib',
lib: {
entry: resolve(dirname, 'src/index.ts'),