Commit 8769e82
committed
refactor(sea): remove buildSeaBlob, let binject handle blob generation
Removed the buildSeaBlob() function that was generating SEA blobs
using the host Node.js (e.g., v25.5.0) to generate blobs for
node-smol targets (e.g., v24.10.0).
binject now handles blob generation automatically when --sea points
to a .json config file, using the target binary's Node.js version.
This is critical for useCodeCache support since code cache is
version-specific.
Changes:
- Removed buildSeaBlob() from builder.mjs (50+ lines)
- Updated test-sea.mjs to pass configPath instead of blobPath
- Added explanatory comments about config-based blob generation1 parent 5c7abcf commit 8769e82
File tree
2 files changed
+22
-60
lines changed- packages/cli/scripts
- sea-build-utils
2 files changed
+22
-60
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
141 | 103 | | |
142 | 104 | | |
143 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | | - | |
426 | | - | |
427 | | - | |
| 425 | + | |
428 | 426 | | |
429 | 427 | | |
430 | 428 | | |
| |||
472 | 470 | | |
473 | 471 | | |
474 | 472 | | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | | - | |
481 | 473 | | |
482 | 474 | | |
483 | 475 | | |
| |||
494 | 486 | | |
495 | 487 | | |
496 | 488 | | |
497 | | - | |
498 | | - | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
499 | 493 | | |
500 | | - | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
501 | 501 | | |
502 | 502 | | |
503 | 503 | | |
| |||
0 commit comments