FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add support for the Node v6 preserve-symlinks option by devongovett · Pull Request #1742 · browserify/browserify · GitHub

Repository navigation

Add support for the Node v6 preserve-symlinks option - #1742

Merged
goto-bus-stop merged 1 commit into
browserify:masterfrom
devongovett:preserve-symlinks
Jan 31, 2018
Merged

goto-bus-stop merged 1 commit into
browserify:masterfrom
devongovett:preserve-symlinks

Conversation

Copy link
Copy Markdown
Member

When specified, symlinks are preserved when resolving modules. Specifically, the realpath call is skipped. This allows symlinked peer dependencies to work correctly. Matches the behavior of the option added in node v6.3.0: https://nodejs.org/api/cli.html#cli_preserve_symlinks. See nodejs/node#3402 for discussion around this feature in node.

When specified, symlinks are preserved when resolving modules. Specifically, the `realpath` call is skipped. This allows symlinked peer dependencies to work correctly. Matches the behavior of the option added in node v6.3.0: https://nodejs.org/api/cli.html#cli_preserve_symlinks.

Copy link
Copy Markdown
Member Author

@substack @feross who is maintaining browserify these days? Can someone look at this?

mightyaleksey pushed a commit to css-modules/postcss-modules-resolve-imports that referenced this pull request Sep 5, 2017
mightyaleksey pushed a commit to css-modules/postcss-modules-resolve-imports that referenced this pull request Sep 5, 2017
devongovett requested a review from a user October 5, 2017 01:21

Copy link
Copy Markdown
Member

makes sense, thanks!

reading the node thread it seems like entry points would be realpath()ed regardless, does this patch need to do anything handle that?

goto-bus-stop merged commit 2b9b319 into browserify:master Jan 31, 2018
This file contains hidden or 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL