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.

fix(examples): pass file URL to Node --import for tsx on Windows (#8141)

APace54373b952
diff --git a/examples/vite.config.ts b/examples/vite.config.ts
index 0582d3eb9b..b0401e4d96 100644
--- a/examples/vite.config.ts
+++ b/examples/vite.config.ts
@@ -7,7 +7,7 @@ import { defineConfig } from 'vite';
const DEV_LOCALE_ENDPOINT = '/__univer_examples_locale';
const DEV_LOCALE_EXPORT_SCRIPT = fileURLToPath(new URL('./scripts/export-locale.mts', import.meta.url));
const DEV_LOCALE_PRODUCTS = new Set(['docs', 'sheets']);
-const DEV_TSX_IMPORT = fileURLToPath(import.meta.resolve('tsx'));
+const DEV_TSX_IMPORT = import.meta.resolve('tsx');
const DEV_LOCALE_TAGS = new Set([
'ar-SA',
'ca-ES',