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 2019/12/08 10:34:54 UTC

[GitHub] [incubator-echarts] weidong2017 opened a new issue #11811: ./line.js → lib/line.min.js... (!) The "transformBundle" hook used by plugin uglify is deprecated. The "renderChunk" hook should be used instead. (!) Missing exports https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module line.js init is not exported by node_modules\echarts\lib\echarts.js 8: 9: // 基于准备好的dom,初始化 echarts 实例并绘制图表。 10: echarts.init(document.getElementById('main')).setOption({ ^ 11: title: { text: 'Line Chart' }, 12: tooltip: {},

weidong2017 opened a new issue #11811:  ./line.js → lib/line.min.js... (!) The "transformBundle" hook used by plugin uglify is deprecated. The "renderChunk" hook should be used instead. (!) Missing exports https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module line.js init is not exported by node_modules\echarts\lib\echarts.js  8:   9: // 基于准备好的dom,初始化 echarts 实例并绘制图表。 10: echarts.init(document.getElementById('main')).setOption({             ^ 11:     title: { text: 'Line Chart' }, 12:     tooltip: {},
URL: https://github.com/apache/incubator-echarts/issues/11811
 
 
   官网实例报错
   ./line.js → lib/line.min.js...
   (!) The "transformBundle" hook used by plugin uglify is deprecated. The "renderChunk" hook should be used instead.
   (!) Missing exports
   https://rollupjs.org/guide/en/#error-name-is-not-exported-by-module
   line.js
   init is not exported by node_modules\echarts\lib\echarts.js
    8: 
    9: // 基于准备好的dom,初始化 echarts 实例并绘制图表。
   10: echarts.init(document.getElementById('main')).setOption({
               ^
   11:     title: { text: 'Line Chart' },
   12:     tooltip: {},

----------------------------------------------------------------
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


With regards,
Apache Git Services

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