kentcdodds / kentcdodds/binode

Support ESM

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

Description

As @ brophdawg11 pointed out in https://github.com/remix-run/indie-stack/pull/255#issuecomment-1706780193, it seems that `binode` is currently CJS only

> It looks like `binode` is CJS only at the moment to it can't pull in the ESM mocks file nor the ESM built file.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name any files or tests. Start by tracing binode's current CommonJS entry point and reproduce loading the referenced ESM mocks file and ESM built file; done means both ESM cases are supported without breaking the existing CommonJS behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.