-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
Node SEA ESM support #53565
Copy link
Copy link
Closed
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.never-staleMark issue so that it is never considered staleMark issue so that it is never considered stalesingle-executableIssues and PRs related to single-executable applicationsIssues and PRs related to single-executable applications
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.never-staleMark issue so that it is never considered staleMark issue so that it is never considered stalesingle-executableIssues and PRs related to single-executable applicationsIssues and PRs related to single-executable applications
Type
Projects
Status
Triaged
What is the problem this feature will solve?
Nodejs version 20.15.0,
I have a .mjs file, use
node --experimental-sea-config sea-config.jsonpack as a blob,and then
npx postject hello NODE_SEA_BLOB sea-prep.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2successful,but ./hello will throw
Require a ESM error.So, packing ESM module into SEA single executable is not available now.
What is the feature you are proposing to solve the problem?
Packing ESM module as a single exeutable.
What alternatives have you considered?
Another feature request is: bake v8 options into executable to run with them on, like pkg's
--optionsargument