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

wip migrate to esm and connect with tag #49

Open
wants to merge 1 commit into
base: v7
Choose a base branch
from

Conversation

tylerchilds
Copy link

I've got some in flight progress on getting tag using statebus here: tylerchilds/tag#2

this is the current work for getting statebus ready for esm and ripping out the react dependencies.

@toomim
Copy link
Member

toomim commented Sep 16, 2022

Thanks for doing this. Does this now work with esm in the browser? In node?

I'm hoping we can find a way that's also compatible with the old style of loading code, script tags in browsers, and require() in node.

I was able to make braid-http work with both esm and require on nodejs, but I haven't gone as far as to make it work with esm in browsers. I suspect it might need a simple transpilation step.

@toomim
Copy link
Member

toomim commented Sep 16, 2022

Or maybe I shouldn't be trying to make this work via <script> tags. I haven't thought that through. Maybe you have.

@tylerchilds
Copy link
Author

We should be able to write it in the latest ESM and then we can transpile out compatible versions for other runtimes.

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.

2 participants