I am building Looker custom visualizations which needs to be self-contained js files (output format 'umd' | 'iife').
Tech stack:
- RSLib
- pnpm
- React 18.3
- latest highcharts and @highcharts/react
When all highcharts and @highcharts/react dependencies are externalized from dist files and https://code.highcharts.com/12.4.0/highcharts.js is provided in Looker manifest dependencies, then no import works from @highcharts/react, it's all "Uncaught TypeError: can't access property Tooltip", etc.
Is there some additional CDN that should/could be referenced?
Note: We have successfully externalised React and React DOM dependencies this way (RSLib external and CDN script provided in Looker manifest), so the issue is related to Highcharts React.