evanw / evanw/esbuild

Esbuild context.rebuild not outputting summary

Open
#2,886 6 comments 7 reactions 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

0.17.0 moves everything related to incremental builds to the context API. Using esbuild.build(…) I see an "output file summary" in the terminal (as noted in the info log level https://esbuild.github.io/api/#log-level). Changing that to:

const ctx = await esbuild.context(…);
ctx.rebuild();
ctx.dispose();

The build works, but I don't get an "output file summary" any longer. What am I missing?

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

Start with the context API and the info log level documentation referenced in the issue, then compare the behavior of esbuild.build(...) with ctx.rebuild(). Check whether the missing output file summary is intentional or a regression; done means the behavior is clarified, documented, or restored with appropriate coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.