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
build: remove assignment of pkg.version in generateBundle function
白熱3de7333da1ca
diff --git a/common/shared/vite/cleanup-pkg-plugin.ts b/common/shared/vite/cleanup-pkg-plugin.tsindex 7f8ee30ff4..980616d6f2 100644--- a/common/shared/vite/cleanup-pkg-plugin.ts+++ b/common/shared/vite/cleanup-pkg-plugin.ts@@ -77,7 +77,6 @@ export function cleanupPkgPlugin(): Plugin {generateBundle() {const hasLocales = fs.existsSync(path.resolve(process.cwd(), 'src/locale'));const hasFacade = fs.existsSync(path.resolve(process.cwd(), 'src/facade/index.ts'));- pkg.version = localPkg.version;pkg.publishConfig = {access: 'public',main: './lib/es/index.js',