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

iso engine: dist/holodeck-package.js (CJS) bundles a second copy of the built-in parts

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
build-system

Research direction

The problem is in the generated dist/holodeck-package.js (CJS), which inlines its own parts/registry copy; start with the build configuration that emits it and with the package.json exports map, especially the './holodeck-package' require condition. Choose between marking the main entry external for the CJS output or dropping the CJS build, then check that CJS and ESM consumers share one registry. Done means a single shared parts registry across both builds, with the maintainers' choice of option noted in the issue.

Written by the indexing model from the issue text.

Description

agent area:holodeck review-finding

From the review of #55 (P2). The CJS holodeck-package entry inlines its own parts/registry, so mixing CJS and ESM builds in one host yields duplicate part definitions (class identity, registry collisions). ESM shares a chunk. Fix: mark the main entry external from the package entry in CJS, or drop the CJS build of holodeck-package (manifest entry is .mjs only) and remove the './holodeck-package' require condition.

🤖 Generated with Claude Code

Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
10h 39m
Merged PRs (30d)
38

Getting set up

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 hyperdrive-technology/holodeck

All issues in hyperdrive-technology/holodeck

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.