This is an automated email from the ASF dual-hosted git repository.
wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-theme-builder.git
The following commit(s) were added to refs/heads/master by this push:
new e67122f fix env
e67122f is described below
commit e67122f337d5c475805d197609e935e03572881d
Author: plainheart <[email protected]>
AuthorDate: Mon Nov 10 13:45:11 2025 +0800
fix env
---
vite.config.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vite.config.ts b/vite.config.ts
index 7c6aa7d..59690ae 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -68,7 +68,7 @@ export default defineConfig((env) => {
}
},
define: {
- 'import.meta.env.VITE_SHOW_LANGUAGE_SELECTOR': true,
+ 'import.meta.env.VITE_SHOW_LANGUAGE_SELECTOR': !isBuildForApp,
'import.meta.env.VITE_EXTERNAL_ECHARTS_SCRIPT': isDev || isBuildForApp
? `""`
: `"<script
src=\\"https://echarts.apache.org/en/js/vendors/echarts/dist/echarts.min.js\\"></script>"`,
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]