highcharts-vue
highcharts-vue copied to clipboard
webpack failing since highcharts 11.2.0
Hi,
I updated the dependencies on my project and webpack now fails since highcharts 11.2.0. If I pin down highcharts to 11.1.0, my project builds correctly.
I see in the highcharts changelog that 11.2.0 introduced the following change :
Upgraded the build pipeline to benefit from new language features. Bundles are now compiled to ES2020 by the TypeScript compiler (.src.js files), and minified by swc (.js files).
I wonder if this change is the reason using highcharts-vue in a webpack project now fails.
WAIT Compiling... 14:24:29
98% after emitting CopyPlugin
ERROR Failed to compile with 1 error 14:24:30
error in ./node_modules/highcharts/highcharts.js
Module parse failed: Unexpected token (8:5207)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| * License: www.highcharts.com/license
| */!function(t,e){"object"==typeof module&&module.exports?(e.default=e,module.exports....