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

Browser support & ES modules #5

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

IvanSanchez
Copy link

This implements browser support via ES modules.

Jest tests still pass on node.js. On the browser side, the HTML webpage in test can display the data in a tabular format. Note that there is a need to spin up a dev webserver (e.g. https://www.npmjs.com/package/serve) to make it work (because of CORS stuff).

ES modules make development nicer in the long run, since they forego the need for a bundling toolchain (babel, webpack, rollup or the like).

This has been done as part of a OGC codesprint (https://developer.ogc.org/sprints/22/)

Signed-off-by: Iván Sánchez Ortega <[email protected]>
Signed-off-by: Iván Sánchez Ortega <[email protected]>
Signed-off-by: Iván Sánchez Ortega <[email protected]>
Signed-off-by: Iván Sánchez Ortega <[email protected]>
@dbussert
Copy link
Contributor

Thanks for the PR, I'll start reviewing soon

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