bigskysoftware / bigskysoftware/_hyperscript

ESM packaging

Open
#516 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

Hi, would it be possible to offer ESM-friendly packaging for frameworks wishing to support _hyperscript?

The goal is to be able to pass the build system something like
`export { default } from "hyperscript.org";`

Or with advanced features,

`export { default, workers, socket, eventsource } from "hyperscript.org";`

such that the build system can bundle it in into one file, and hyperscript's side-effecting the DOM can still work.

It would typically involve using the `exports` field in `package.json`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.