You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by wa...@apache.org on 2021/11/29 02:24:02 UTC
[echarts-www] branch master updated: fix(builder): use 'lib' folder if version is 'latest'
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-www.git
The following commit(s) were added to refs/heads/master by this push:
new 2caead1 fix(builder): use 'lib' folder if version is 'latest'
2caead1 is described below
commit 2caead1b2b90d5bf1e0b12b6f97aafbca9968d9f
Author: Zhongxiang.Wang <yh...@all-my-life.cn>
AuthorDate: Mon Nov 29 10:23:54 2021 +0800
fix(builder): use 'lib' folder if version is 'latest'
---
builder/build.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/builder/build.js b/builder/build.js
index d6a8acc..f31a1be 100644
--- a/builder/build.js
+++ b/builder/build.js
@@ -21,7 +21,7 @@ define(function (require) {
var topCode = [`export * from "echarts/src/echarts";`];
var srcFolder = version.startsWith('5.0.0') ? 'esm' // Only 5.0.0 has esm folder
- : isVersion5 ? 'lib' : 'src';
+ : isVersion5 || version === 'latest' ? 'lib' : 'src';
if (BUILD_CONFIG.api && (version.startsWith('5.0.0') || !isVersion5)) {
topCode.push(`export * from "echarts/src/export";`);
@@ -308,4 +308,4 @@ define(function (require) {
}
}
-});
\ No newline at end of file
+});
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org