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(sheets-formula): fix exports (#4055)

#FF00001cbabd70c5f9
diff --git a/packages/sheets-formula/package.json b/packages/sheets-formula/package.json
index b666f8134d..18fe17a933 100644
--- a/packages/sheets-formula/package.json
+++ b/packages/sheets-formula/package.json
@@ -49,7 +49,8 @@
"types": "./lib/types/facade/index.d.ts"
},
"./locale/*": {
- "import": "./lib/locale/*.js",
+ "import": "./lib/locale/es/*.js",
+ "require": "./lib/locale/cjs/*.js",
"types": "./lib/types/locale/*.d.ts"
}
}
@@ -104,7 +105,8 @@
"types": "./lib/types/facade/index.d.ts"
},
"./locale/*": {
- "import": "./lib/locale/*.js",
+ "import": "./lib/locale/es/*.js",
+ "require": "./lib/locale/cjs/*.js",
"types": "./lib/types/locale/*.d.ts"
}
}