Closed Gaubee closed 2 years ago
I don't think this is enough, as the file extensions will need to change one way or the other. See https://github.com/jakearchibald/idb-keyval/issues/126
I'm going to try and fix this soon, using whatever solution I come to for idb-keyval
I did this for idb-keyval in https://github.com/jakearchibald/idb-keyval/pull/129. I'm going to leave it for a few days and see if it causes problems for anyone. If not, I'll do the same for this library.
@jakearchibald any update? Love to have the exports
support (especially the import
condition) to make SSR easier using esm files.
It's still on my radar. I'm happy with how it went with idb-keyval, so just waiting for the free time.
Closing in favour of https://github.com/jakearchibald/idb/pull/242. It's also published as https://www.npmjs.com/package/idb/v/7.0.0-beta. I'd really appreciate some testing and feedback!
see doc