There is ES6 syntax in the dist files in version 2.7.0
Closed this issue · 2 comments
allanwjm commented
You are using ES6 in the dist! Checkout the CDN link on the tauCharts homepage and there are a lot of =>
, const
, blabla... in it.
ERROR in 1.bundle.js from UglifyJs
Unexpected token: operator (>)
That caused webpack build errors for me. If you see this, you might need to use taucharts@2.6.x
. I reckon that will also be a problem in browsers.
I'm not sure if it is a bug or feature, just FYI.
Mavrin commented
Thank you! It is bug.
Mavrin commented
Fixed in 2.7.1