You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/11/26 06:54:03 UTC

[GitHub] [incubator-echarts] cheqianxiao opened a new issue #13701: echarts.util is undefined

cheqianxiao opened a new issue #13701:
URL: https://github.com/apache/incubator-echarts/issues/13701


   ### Version
   5.0.0
   
   ### Reproduction link
   [https://codesandbox.io/s/wizardly-ride-umxfn](https://codesandbox.io/s/wizardly-ride-umxfn)
   
   ### Steps to reproduce
   ```js
   import echarts from 'echarts/lib/echarts'  
   console.log(ehcarts.util)  
   ```
   
   ### What is expected?
   shoud console an object
   
   ### What is actually happening?
   console undefined
   
   ---
   seems  in 5.x , the export.js is not mounted to echarts.js anymore when build . is it  expected ?
   
   <!-- 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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] cheqianxiao closed issue #13701: echarts.util is undefined

Posted by GitBox <gi...@apache.org>.
cheqianxiao closed issue #13701:
URL: https://github.com/apache/incubator-echarts/issues/13701


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] pissang commented on issue #13701: echarts.util is undefined

Posted by GitBox <gi...@apache.org>.
pissang commented on issue #13701:
URL: https://github.com/apache/incubator-echarts/issues/13701#issuecomment-734566442


   Hi @cheqianxiao 
   
   It's expected. We don't mount the util/graphic..etc on the `echarts/lib/echarts` by default now. You can replace it with 
   
   ```js
   import * as echarts from 'echarts/index.blank'  
   ```
   
   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-echarts] cheqianxiao commented on issue #13701: echarts.util is undefined

Posted by GitBox <gi...@apache.org>.
cheqianxiao commented on issue #13701:
URL: https://github.com/apache/incubator-echarts/issues/13701#issuecomment-734655660


   ok, thx ~


----------------------------------------------------------------
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:
users@infra.apache.org



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