highcharts / highcharts-vue

Other
686 stars 150 forks source link

New version with vue 3 requires webpack(it was not like this in previous version) #190

Closed bhrugen closed 1 year ago

bhrugen commented 3 years ago

Hi,

The new version of vue 3 and highchart-vue gives error, since in my application i am not using webpack.

Uncaught TypeError: Cannot read property 'version' of undefined at Module. (highchartsvue.js:259) at __webpack_require__ (highchartsvue.js:30) at highchartsvue.js:94 at highchartsvue.js:97 at webpackUniversalModuleDefinition (highchartsvue.js:9) at highchartsvue.js:10

I do not believe this was dependency in 1.3.5 version, can this be removed or is there a workaround?

Denyllon commented 3 years ago

Hello @bhrugen ,

Thank you for letting us know. As I see there is no webpack within package's dependencies. It's only included in the devDependencies, but it have been having this for 3 years though, and it should not affect common usage (using as the app dependency). In v.1.4.0 we've only updated webpack version because of deprecation of its old plugins.

Could you try to provide me with any minimal example, where the problem is noticeable? I guess would be much more easier to find out what's happening.

Kind regards!