-
Notifications
You must be signed in to change notification settings - Fork 2
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
browser support #1
Comments
I think we need a build step as we are depending on nearley. There is already a build step though, which I added after reading fluture-js/Fluture#58, so no big deal there. I guess we'd basically be doing what ramda is to create the version in dist? Inlining |
No. I haven't yet needed such a tool. |
k I'll keep looking/figure something out. |
May I suggest using Rollup to create an IIFE or UMD build? Using that it should be possible to bundle the |
Thanks @mickdekkers . Ended up not needing it for this issue as we bundled a parent lib for the browser, but I'll leave the issue open and look into using rollup for a browser build for this lib. |
Based on sanctuary-js/sanctuary-site#23 it seems one can't simply import HMP via a
<script>
tag. I would very much like to be able to do so. I suggest either:I prefer the latter. It adds a bit of boilerplate, but obviates the need for a build step. :)
The text was updated successfully, but these errors were encountered: