Ship it with `Dual Module Package`

Open
#185 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@kings9527 is already working on this.

Since May 23, 2026.

  • #237 by @kings9527 — open

Assessment

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

Research direction

No files or tests are named. Start by inspecting tapable's current package metadata and module entry points, then determine how both CJS and ESM consumers should load it; done means both loading modes are supported and covered by tests.

Written by the indexing model from the issue text.

Description

Make it support cjs and esm. Let's fast-forward to ESM.

If this is allowed, please let me know and I'd be happy to make a PR

Dominant language
JavaScript
Stars
3.9k
Forks
388
Avg merge
1h 48m
Merged PRs (30d)
10

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 webpack/tapable

All issues in webpack/tapable

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.