Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/apache/echarts-www
Browse files Browse the repository at this point in the history
  • Loading branch information
plainheart committed Jan 25, 2021
2 parents e17b0ac + 4ad4e51 commit 7c2d688
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/build.js
Expand Up @@ -23,7 +23,7 @@ define(function (require) {
var srcFolder = version.startsWith('5.0.0') ? 'esm' // Only 5.0.0 has esm folder
: isVersion5 ? 'lib' : 'src';

if (BUILD_CONFIG.api) {
if (BUILD_CONFIG.api && (version.startsWith('5.0.0') || !isVersion5)) {
topCode.push(`export * from "echarts/src/export";`);
}

Expand Down

0 comments on commit 7c2d688

Please sign in to comment.