Commit 99bc6e5
committed
frames: import insert from the shared @solidjs/web instance (dedup)
The reveal-boundary binding imported `insert` from the runtime source
(@dom-expressions/runtime/src/client.js), which bundled a SECOND copy of
`insert` and the reconcile/render machinery it drags in into frames/dist — ~4kb
the app already has from compiled JSX (frame-client.js itself never used the
runtime `insert`, so nothing pulled it in before). Import it from @solidjs/web
instead — the same shared instance compiled output uses — and mark @solidjs/web
external in the frames client (prod + dev) rollup entries. Client bundle back to
baseline (119.3kb -> 115.6kb). Frame tests unchanged.1 parent 10d963b commit 99bc6e5
2 files changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
204 | 205 | | |
205 | 206 | | |
206 | 207 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
0 commit comments