geotiffjs / geotiff.js

geotiff.js is a small library to parse TIFF files for visualization or analysis. It is written in pure JavaScript, and is usable in both the browser and node.js applications.
https://geotiffjs.github.io/
MIT License
859 stars 179 forks source link

Pool._awaitingDecoder `chunkLoadError` with when using webpack #349

Open larzeitlin opened 1 year ago

larzeitlin commented 1 year ago

When running geotiff with webpack bundling I get a chunkLoadError from the promise that attempts to load decoder.js

https://github.com/geotiffjs/geotiff.js/blob/master/src/pool.js#L48-L51