Commit 5b3c571
rollup: refactor pure-package check to a named list
Pull the package list out of the if-cascade into a `PURE_INTERNAL_PACKAGES`
array so future additions are a one-line append. Empirically tried
expanding to `@glimmer/util`, `@glimmer/wire-format`, `@glimmer/encoder`,
`@glimmer/owner`, `@glimmer/reference`, `@glimmer/vm`,
`@glimmer/destroyable`, `@glimmer/global-context`,
`@glimmer/interfaces` — none of them moved the bundle in either
hello-world or classic v2-app, so kept the original conservative set.
No behavior change. Same hello-world (131.27 / 42.06) and classic
(309.68 / 96.28).
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 4b8a9e0 commit 5b3c571
1 file changed
Lines changed: 15 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
123 | 124 | | |
124 | | - | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
134 | 129 | | |
135 | 130 | | |
136 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
137 | 138 | | |
138 | 139 | | |
139 | 140 | | |
| |||
0 commit comments