forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
module: check .node_preloadrc for preload modules
Adds a new feature that checks .node_preloadrc for a list of modules to preload. One module per line and each one can be the absolute path or just the name of the module. Two locations will be check for the rc file: HOMEDIR or CWD. The one in HOMEDIR must specify modules under the global node_modules dir only, and the one in CWD must specify modules under the dir CWD/node_modules only. This is smilar to what can be specified by the -r command line option except the modules are limited to the global or local node_modules only. This feature must be opted-in with setting the env var NODE_PRELOADRC_ENABLE to a non-falsy value. Implements: nodejs#11853
- Loading branch information
Showing
2 changed files
with
218 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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