0

I am doing a research on echarts' smooth line. So I want to go into echarts code and see how it is drawn.

I downloaded echarts source code from github, created a index.html, and add echarts.min.js to the script tag. The line chart is drawn successfully. However, when I open the chrome dev-tool to look into the code, I found that the code in the echarts.min.js is unreadable, beacuse it has been compressed. The name of variables and functions are replaced by letter sunch as function ia(t, e, n, i, r), which I cannot understand.

What should I do to debug the sourcefile of the echarts.min.js?

lineChart devtool

Mike 'Pomax' Kamermans
  • 49,297
  • 16
  • 112
  • 153
jena_kk
  • 1
  • 2
  • If you want to read the source code, [go to the source](https://github.com/apache/echarts). – Mike 'Pomax' Kamermans Apr 05 '23 at 17:58
  • Thank you , this [link](https://stackoverflow.com/questions/21719562/how-can-i-use-javascript-source-maps-map-files) answers my question. I add a comment to the .min.js and I can see the source file in dev-tool. – jena_kk Apr 06 '23 at 02:07

0 Answers0