Open
Description
What is the problem this feature will solve?
When building Nodejs as a static library, it might be pointless to include all core modules in the resulting binary.
Modules such as crypto, http, http2, http3, https, tls, tcp, udp, etc. all increase the binary size but might not be ever used.
What is the feature you are proposing to solve the problem?
Add build-time flags to enable or disable core modules.
What alternatives have you considered?
Just shipping the fat libnode dylib works fine but it's 90MB+ and that could be cut down pretty far by skipping unused core modules.
Metadata
Assignees
Type
Projects
Status
Triaged
Activity