Have you tried requiring them or importing them like in the snippet?
Did you get any errors?
When using either require or import, you can cherry pick any file inside the module like the required examples above.
For example, require('highcharts/highcharts-more') will load node_modules/highcharts/highcharts-more.js
Also note that the functions returned by require are then run immediately with Highcharts as an argument. If you wanted to do this with import statements, you’d need to run the functions separately:
import Highcharts from 'highcharts'
import more from 'highcharts/highcharts-more';
import solidGauge from 'highcharts/modules/solid-gauge';
import heatmap from 'highcharts/modules/heatmap';
import treemap from 'highcharts/modules/treemap';
import funnel from 'highcharts/modules/funnel';
more(Highcharts);
solidGauge(Highcharts);
heatmap(Highcharts);
treemap(Highcharts);
funnel(Highcharts);
I personally prefer the require syntax for this because it’s more compact and doesn’t introduce new variables into your module scope.