I’m writing a plugin to use HDRHistogram js:
I’ve read that with external libraries you need to include them in the plugin itself in dist/
so whenever i try to use something like below:
import * as hdr from ‘./hdr-histogram-js/dist/hdrhistogram.min.js’;
it complains about :
Fetch error: 404 Not Found Instantiating http://hostname:3001/public/pako Loading http://hostname:3001/public/plugins/karl-test-histogram/hdr-histogram-js/dist/hdrhistogram.min.js
So if these libraries depend on others, how do I get around this?