You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e1cb474
Browse filesBrowse the repository at this point in the historyBrowse files
build(server): make the CLI bundle loadable as a Node single-executable
Inside a Node SEA, import statements and import() can only resolve
built-ins, so the two external native packages (fff-node, node-pty) now
load through createRequire. fff-node's exports map only declared an
import condition, so the existing patch also adds a require condition.
Adds a build-exe subcommand that wraps the bundle with tsdown's exe
support and fails if the emitted bundle still imports any file-backed
package, since that only surfaces at runtime inside the executable.
Co-Authored-By: Claude Fable 5 <[email protected]>
return`${this.bundlePath} imports file-backed packages that a single-executable cannot resolve: ${this.specifiers.join(", ")}. Load them through createRequire instead.`;
0 commit comments