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

es module, for modern browser use without bundlers #65

Open
chase-moskal opened this issue Aug 20, 2019 · 2 comments
Open

es module, for modern browser use without bundlers #65

chase-moskal opened this issue Aug 20, 2019 · 2 comments
Assignees

Comments

@chase-moskal
Copy link

chase-moskal commented Aug 20, 2019

hello friend, thanks for this lovely module

my application uses es-modules, so i made a quick adaptation of locale2

i don't have time to apply the refactor to this repo, but here's the gist for my adaptation i'm using in my app:

my adaptation makes some assumptions and so only works in the browser (setting global = window)

just thought i'd share in case somebody else was in the same boat

👋

@moimikey
Copy link
Owner

moimikey commented Nov 7, 2019

sorry for the long delay in replying! i'll happily work on this case :)

@moimikey moimikey self-assigned this Nov 7, 2019
@moimikey
Copy link
Owner

i know this is 2 years later, but i will be creating a TS version of this in the next major release.

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

No branches or pull requests

2 participants