Commit 8b3d15f
Fix SEA build: bundle all dependencies with deps.alwaysBundle
tsdown's DepPlugin externalizes any package listed in package.json
dependencies by default. For a SEA binary every dependency must be
bundled into the single output file, so override this with
deps.alwaysBundle: () => true.
The previous deps.skipNodeModulesBundle: false was a no-op — that
flag only controls automatic externalization of node_modules that are
NOT production deps, and was already false by default.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b47cd95 commit 8b3d15f
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments