Closed
Description
Since the action item of the previous meeting was to build SEA experiments, I built mine: node-sea.
It generates JS files that, when required or executed from the CLI, either re-export a module or run a binary. It uses the Yarn libraries in order to generate the dataset that can be stored, and applied at runtime as a layer on top of the filesystem.
Note that you'll currently need to build the node
binary from sources (nodejs/node#44537 is required), and some binaries such as Webpack will require nodejs/node#44732 for workers to be supported.
npx node-sea -c 'npm add prettier' -b prettier -m prettier -o prettier
~/node/node ./prettier.cjs --help
Metadata
Metadata
Assignees
Labels
No labels