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 <sushuang0...@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-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to