highcharts-vue icon indicating copy to clipboard operation
highcharts-vue copied to clipboard

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

Open bhrugen opened this issue 3 years ago • 1 comments

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?

bhrugen avatar Jun 08 '21 16:06 bhrugen

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!

Denyllon avatar Jun 14 '21 13:06 Denyllon