Conversation
Add `exe` option to bundle output as a Node.js Single Executable Application (SEA). When enabled, the bundled code is compiled into a standalone executable using `--build-sea`. - New `--exe` CLI flag and `exe` config option - Auto-configures format (defaults to CJS), disables dts, disables code splitting - Supports custom SEA config (code cache, snapshot, assets, etc.) - macOS ad-hoc codesigning for Gatekeeper compatibility - Refactored ReportPlugin to accept ResolvedConfig for reuse - Added MB formatting support in formatBytes utility - Updated docs (EN/zh-CN CLI reference) and skills
✅ Deploy Preview for tsdown-main ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
tsdown
create-tsdown
tsdown-migrate
commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Add
exeoption to bundle output as a Node.js Single Executable Application (SEA). When enabled, the bundled code is compiled into a standalone executable using Node.js--build-sea(requires Node.js >= 25.5.0).Core changes:
--exeCLI flag andexeconfig option withExeOptions/SeaConfigtypesexeis enabled: format defaults tocjs,dtsdisabled, code splitting disabledReportPluginto acceptResolvedConfigdirectly for reuseformatBytesutilityDocumentation:
--exeto CLI reference (EN + zh-CN)option-exe.mdreferenceLinked Issues
closes #775, relate #776
Additional context
This feature is marked as experimental. Node.js SEA support via
--build-seais available from Node.js 25.5.0+.