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

What about building each default storage to dist ? #273

Open
cyrilchapon opened this issue Mar 19, 2018 · 0 comments · May be fixed by #274
Open

What about building each default storage to dist ? #273

cyrilchapon opened this issue Mar 19, 2018 · 0 comments · May be fixed by #274

Comments

@cyrilchapon
Copy link

cyrilchapon commented Mar 19, 2018

I personally love this library, but I don't need the "fallback" stuff.

I do appreciate the effort on "uniformizing" stores APIs, but i'm struggling with that basic use-case :

I need to include the same piece of code, on all three of an ES6 monolithic app, a React app, and a wordpress site. That piece of code use (and needs to use) only SessionStorage (I don't want full browser support, and I don't want any fallback logic. I want it to work on SessionStorage and only on SessionStorage).

Importing it into my wordpress is currently impossible, appart making a small npm module witch basically produces a custom build... This seems to go against "UMD" logic with <script> requirable stuff, isn't it ?

Wouldn't it be worth, making each store(storage) individually available on dist ?

@cyrilchapon cyrilchapon linked a pull request Mar 19, 2018 that will close this issue
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 a pull request may close this issue.

1 participant