Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

ESM packaging

Open
#516 0 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript
Domain
build-system

Research direction

Start by inspecting package.json and the repository's current package entry points and distribution setup. Check how the requested default, workers, socket, and eventsource exports would be exposed to an ESM build system, then verify that the resulting bundle still applies hyperscript's DOM side effects.

Written by the indexing model from the issue text.

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.

Dominant language
JavaScript
Stars
3.8k
Forks
171
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from bigskysoftware/_hyperscript

All issues in bigskysoftware/_hyperscript

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.