You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2020/07/31 16:47:51 UTC

[incubator-echarts] 02/03: fix: fix zrender build path for extension.

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

sushuang pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit 165e1479b952c386ef2f52acc46fd9d4e237af02
Author: 100pah <su...@gmail.com>
AuthorDate: Sat Aug 1 00:45:48 2020 +0800

    fix: fix zrender build path for extension.
---
 build/config.js | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/build/config.js b/build/config.js
index 3d39d0e..1d94ce8 100644
--- a/build/config.js
+++ b/build/config.js
@@ -34,9 +34,10 @@ function preparePlugins(
     // In case node_modules/zrender is a symlink
     const zrNodeModulePath = nodePath.resolve(ecDir, 'node_modules/zrender');
     const zrRealPath = fs.realpathSync(zrNodeModulePath);
-    if (zrRealPath !== zrNodeModulePath) {
-        include.push(zrRealPath + '/**/*.ts');
-    }
+    // if (zrRealPath !== zrNodeModulePath) {
+    //     include.push(zrRealPath + '/**/*.ts');
+    // }
+    include.push(zrRealPath + '/**/*.ts');
 
     if (clean) {
         console.log('Built in clean mode without cache.');


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