Skip to content

Commit f724336

Browse files
ovflowdavivkeller
andcommitted
chore: add a changeset for the build memory work
Assisted-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Aviv Keller <me@aviv.sh>
1 parent c233fed commit f724336

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎.changeset/build-memory.md‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@doc-kit/core': minor
3+
'@doc-kit/generator-react': minor
4+
'@node-core/doc-kit-legacy': minor
5+
---
6+
7+
Build with 44–54% less memory, in about a third of the time: Shiki registers each language once code in it is highlighted, highlighted code reaches pages as static markup rather than a tree per token, `all.html` is rendered by the worker pool, HTML is no longer minified (hosts serve it compressed, which minifying barely improved on), idle workers end after 250ms, and each worker's heap is limited to 512MB, which Node.js's `--max-old-space-size` raises. `@doc-kit/core/utils/html-minifier.mjs` is removed.

0 commit comments

Comments
 (0)