-
-
Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.
Description
Is your feature request related to a problem? Please describe.
It might be a problem to build node entirely every time the path to the node builtin modules is changed.
Describe the solution you'd like
- During the configuration stage, instead of using
--node-builtin-modules-pathwith a path value, we can use an--enable-runtime-node-builtin-modulesflag to enable this feature. - At runtime, the path to the builtin modules can be read in from an environment variable
NODE_BUILTIN_MODULES_PATHusinglibuvOR it can be passed to node as a command line argument using--node-builtin-modules-pathwith a path value.
Fixes: nodejs/help#3087
Ref: #31321
Metadata
Metadata
Assignees
Labels
buildIssues and PRs related to build files or the CI.Issues and PRs related to build files or the CI.