Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove pouchdb and loadash; Use localforage #149

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Conversation

oeway
Copy link
Contributor

@oeway oeway commented Jul 22, 2021

Pouchdb is currently causing some issue with the vite compilation for imjoy-desktop, and also the library is too big. This PR switches the storage backend to a lighter library called localforge, which also have much simpler api.

This PR also removes loadash to reduce the bundle size.

WARNING: upgrading to this imjoy-core version means all the data stored in the previous storage backend shown. We can potentially make some script to recover the data, but that requires some efforts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant