Skip to content
Permalink
Browse files
fix online builder
  • Loading branch information
pissang committed Jan 25, 2021
1 parent 92a92ba commit 4ad4e51da600dcf3d9bfe45ed38536e244f4289d
Showing 1 changed file with 1 addition and 1 deletion.
@@ -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";`);
}

0 comments on commit 4ad4e51

Please sign in to comment.