larsgk opened a new issue #10680: window.addEventListener overridden on ES6 
module import of echarts
URL: https://github.com/apache/incubator-echarts/issues/10680
 
 
   ### Version
   4.2.1
   
   ### Steps to reproduce
   Importing echarts as:
   import * as echarts from 'echarts/src/echarts';
   
   results in window.AddEventListener to be overridden by faulty version in 
echarts dep - zrender.
   
   ### What is expected?
   Don't override window.addEventListener
   
   ### What is actually happening?
   it's overridden
   
   ---
   We are using plain vanilla ESM and CommonJS modules mixed, packaged in a 
rollup script.  The import is in an unrelated file which results in the global 
window.addEventListener to be overridden.  This can't be right.
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to