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: add `BUNDLE_TYPE` env variable (#1322)
白熱212c9eaa29e4
diff --git a/common/shared/vite/index.js b/common/shared/vite/index.jsindex 6f5a5505a9..030883f325 100644--- a/common/shared/vite/index.js+++ b/common/shared/vite/index.js@@ -77,6 +77,7 @@ function createViteConfig(overrideConfig, /** @type {IOptions} */ options) {],define: {'process.env.NODE_ENV': JSON.stringify(mode),+ 'process.env.BUNDLE_TYPE': JSON.stringify(process.env.BUNDLE_TYPE ?? ''),},test: {coverage: {