You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by sh...@apache.org on 2021/01/25 10:04:07 UTC

[echarts-website] branch asf-site updated: fix online builder

This is an automated email from the ASF dual-hosted git repository.

shenyi pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/echarts-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 33ba45e  fix online builder
33ba45e is described below

commit 33ba45ec8ad193fd296248d29119083fb1c0eeb0
Author: pissang <bm...@gmail.com>
AuthorDate: Mon Jan 25 18:03:53 2021 +0800

    fix online builder
---
 en/builder/build.js | 5 -----
 zh/builder/build.js | 5 -----
 2 files changed, 10 deletions(-)

diff --git a/en/builder/build.js b/en/builder/build.js
index adb8d73..605fd24 100644
--- a/en/builder/build.js
+++ b/en/builder/build.js
@@ -22,11 +22,6 @@ 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';
-
-    if (BUILD_CONFIG.api) {
-        topCode.push(`export * from "echarts/src/export";`);
-    }
-
     // Including charts
     (BUILD_CONFIG.charts || '').split(',').forEach(function (chart) {
         chart && topCode.push(`import "echarts/src/chart/${chart}";`);
diff --git a/zh/builder/build.js b/zh/builder/build.js
index adb8d73..605fd24 100644
--- a/zh/builder/build.js
+++ b/zh/builder/build.js
@@ -22,11 +22,6 @@ 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';
-
-    if (BUILD_CONFIG.api) {
-        topCode.push(`export * from "echarts/src/export";`);
-    }
-
     // Including charts
     (BUILD_CONFIG.charts || '').split(',').forEach(function (chart) {
         chart && topCode.push(`import "echarts/src/chart/${chart}";`);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org