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

Experimental NodeJS Support #69

Merged
merged 4 commits into from
Nov 2, 2021
Merged

Experimental NodeJS Support #69

merged 4 commits into from
Nov 2, 2021

Conversation

JesusMcCloud
Copy link
Contributor

This PR introduces experimental NodeJS support.

The build output is still a UMD module, but without all the browserified dependencies, and targeting NodeJS.
Publishing to npm is not a priority, but at least it allows for incorporating this library in node-based applications.
Creating a "nice" node (or ES6) module (without using a bundler) is still out of reach :(

This addresses #49 as far as currently possible…

introduce two distinct source sets, one for core JS dependnecies,
and one for browser-only dependencies
@JesusMcCloud
Copy link
Contributor Author

@delixfe what's your take on this?

@nodh
Copy link
Contributor

nodh commented Oct 14, 2021

lgtm 👍

@JesusMcCloud JesusMcCloud merged commit f103861 into main Nov 2, 2021
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