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
866 stars 182 forks source link

请升级一下lerc依赖 #412

Open linziguan opened 10 months ago

linziguan commented 10 months ago

请升级一下lerc依赖,在vite5下没办法打包。

silvester-pari commented 10 months ago

This seems to be an issue with rollup 4 - there is an issue describing it here: https://github.com/rollup/rollup/issues/5258. I get the same error using OpenLayers (using geotiff.js) as described in that issue.

silvester-pari commented 10 months ago

Seems this has been fixed. Updating to rollup ^4.5.2 fixed this issue for me.