evanw / evanw/esbuild

[doc] explain how to setup a library

Open
#3,497 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
40.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

Hi,

It is nlt straight forward to build a library with esbuild which exports multiple formats (requires multi passes and some setup to either have multiple package.json or right metadata at root level).

It would be neat to have a doc page ewplaining how to issue cjs and esm in the same build for nom publishing I think.

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.

Research direction

No file, test, or entry point is named. Review the existing documentation structure and library-output guidance first; done means a page explains how to publish CommonJS and ESM formats from one esbuild build, including the required package metadata or setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.