nodejs / nodejs/nodejs.org

Improve Static Builds

Open
#8,442 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
6.9k
Forks
6.5k
Avg merge
2d 8h
Merged PRs (30d)
29

Description

Ref: #8438
Ref: #8439
Ref: #8440

Currently, static builds of all locales (pnpm deploy with NEXT_PUBLIC_STATIC_EXPORT_LOCALE=true) take tens of gigabytes and over 20 minutes for CI to compile them.

We should work on reducing this.

Contributor guide

Open the contributing guide

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 by reviewing the related issues #8438, #8439, and #8440, then run pnpm deploy with NEXT_PUBLIC_STATIC_EXPORT_LOCALE=true to measure the current build size and duration. Trace the static-build path from that command and identify the work producing the tens-of-gigabytes output; done means a documented, measurable reduction in CI time and generated size, though the issue provides no target.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
build-system, performance
Issue type
Refactor
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.