Repository navigation
Commit 2074a59
docs(app-shell): correct the eager-graph attribution above the /meta spelling fold (#5925)
The comment block above this file's `@objectstack/spec/shared` import stated
that the import puts that subpath on the console's eager graph, at
+213.4 KB minified / +60.1 KB gzipped, and attached a prohibition to that
claim. Ablation on origin/main (0fce2ef) shows the import is worth
+285 bytes gzipped: `/shared` is held eager by a runtime
`import { pluralToSingular }` inside `@objectstack/core`, which ships in
`@objectstack/client`, a direct `apps/console` dependency. Every other
importer of `/shared` in this repo's source is type-only and erased at build.
The block now records the mechanism rather than a magnitude that rots, keeps
the parts that were true (self-contained subpath bundles, no `sideEffects`,
the vendor chunk group's static edge, the do-not-fork prohibition), and points
at objectstack#11503 where the only lever lives. Comment-only; the import and
the call site are untouched.
Claude-Session: https://claude.ai/code/session_01EuPCi56cnGyykygi3z9w4m
Co-authored-by: Claude <noreply@anthropic.com>1 parent 165c681 commit 2074a59
2 files changed
Lines changed: 31 additions & 9 deletions
File tree
- .changeset
- packages/app-shell/src/preview
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
45 | 63 | | |
46 | | - | |
47 | | - | |
| 64 | + | |
| 65 | + | |
48 | 66 | | |
49 | 67 | | |
50 | 68 | | |
| |||
0 commit comments