gildas-lormeau / zip.js

JavaScript library to zip and unzip files supporting multi-core compression, compression streams, zip64, split files and encryption.
https://gildas-lormeau.github.io/zip.js
BSD 3-Clause "New" or "Revised" License
3.38k stars 510 forks source link

Add 'lib/*' to package.json exports #410

Closed TJKoury closed 1 year ago

TJKoury commented 1 year ago

Working with versions > 2.5 has given me headaches as I am used to being able to import everything in this directory right into my code. Now I get the "./lib/xxxxxx.js' path is not exported" error.

Some large / very well known packages like Cesium use this pattern.

gildas-lormeau commented 1 year ago

People using zip.js could contact me if they have an issue with the library. I can fix them sometimes.

This issue should be fixed in the version 2.7.3 I've just published.

TJKoury commented 1 year ago

That was quick! Thanks so much

gildas-lormeau commented 1 year ago

You're welcome!