fission-codes / keystore-idb

In-browser key management with IndexedDB and the Web Crypto API
Apache License 2.0
56 stars 8 forks source link

Allow direct lib path imports #55

Closed icidasset closed 2 years ago

icidasset commented 2 years ago

Copied from changelog:

Importing keystore-idb/lib/* directly should now work as intended. This allows bundlers to use the "real" import paths (eg. import "keystore-idb/lib/utils.js") in addition to the "proxy" import paths (eg. import "keystore-idb/utils.js"). One reason to do this could be that you want your library to support both new and old bundlers, ie. bundlers with or without exports support in their package.json file.

icidasset commented 2 years ago

If only we could stick with one bundler 😅