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.
Never mind, that was caused because my Webpack was configured to transpile to ECMAScript 5, but skip external dependencies and since geotiff.js is apparently using ES6 code, things failed.
I'm using geotiff.js as part of onaci/leaflet-geotiff-2 inside a Vue 2.x project and now get the following error when compiling.
This occurred after adding this import:
The issue might also be caused downstream in the Leaflet plugin, but maybe someone here has got an idea?