mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
src,module: add --preserve-symlinks command line flag
Add the `--preserve-symlinks` flag. This makes the changes added in #5950 conditional. By default the old behavior is used. With the flag set, symlinks are preserved, switching to the new behavior. This should be considered to be a temporary solution until we figure out how to solve the symlinked peer dependency problem in a more general way that does not break everything else. Additional test cases are included. PR-URL: https://github.com/nodejs/node/pull/6537 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
1 parent
b4fb95eade
commit
95b7560d8e
13 files changed
+271
-9
No files matched your search
@@ -95,6 +95,11 @@ of the event loop.
|
||||
.BR \-\-zero\-fill\-buffers
|
||||
Automatically zero-fills all newly allocated Buffer and SlowBuffer instances.
|
||||
|
||||
.TP
|
||||
.BR \-\-preserve\-symlinks
|
||||
Instructs the module loader to preserve symbolic links when resolving and
|
||||
caching modules.
|
||||
|
||||
.TP
|
||||
.BR \-\-track\-heap-objects
|
||||
Track heap object allocations for heap snapshots.
|
||||
|
||||
Reference in new issue
Block a user