Commit d8b3152
chore: tell knip @electron/get is dynamically required
The health-check job flagged @electron/get as an unused devDependency in
packages/electron. It is used, but through `require(`@${e}/get`)` — the
same computed-string form already used for @electron/packager, which keeps
the module undiscoverable by mksnapshot since it is build-only. knip cannot
resolve that statically.
Add it alongside the existing @electron/packager entry in the package's
ignoreDependencies rather than making the require a plain literal, which
would expose a build dependency to the v8 snapshot.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 288b5b3 commit d8b3152
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
375 | 375 | | |
376 | 376 | | |
377 | 377 | | |
| 378 | + | |
378 | 379 | | |
379 | 380 | | |
380 | 381 | | |
| |||
0 commit comments