Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't preserve symlinks when resolving deps #133

Merged
merged 1 commit into from
Jan 31, 2018

Conversation

zkochan
Copy link
Contributor

@zkochan zkochan commented Sep 2, 2017

For context see: browserify/resolve#131

This fixes browserify for projects that use pnpm.
Related issue at pnpm: pnpm/pnpm#795

For context see: browserify/resolve#131

This fixes browserify for projects that use pnpm.
Related issue at pnpm: pnpm/pnpm#795
@zkochan
Copy link
Contributor Author

zkochan commented Jan 11, 2018

Hello people. Could someone have a look at this PR, please?

@goto-bus-stop
Copy link
Member

Yes! thanks for the bump.

Just to make sure I understand: is this also what is toggled by the --preserve-symlinks flag in Node? i.e., module-deps was always acting as if --preserve-symlinks was passed, while the default should be to act as if it was not?

@zkochan
Copy link
Contributor Author

zkochan commented Jan 13, 2018

Yes, you are correct.

Also, this may be a breaking change. It will unlikely break anything but it does change the way packages are resolved.

@goto-bus-stop
Copy link
Member

Oh I see this is only changing it for transforms—i think that should be pretty safe. there is another PR open in browserify that adds a --preserve-symlinks flag for modules that will be bundled: browserify/browserify#1742.

@goto-bus-stop
Copy link
Member

Will merge & publish this ASAP together with the browserify --preserve-symlinks PR. sorry for the wait.

@goto-bus-stop goto-bus-stop merged commit 54fa993 into browserify:master Jan 31, 2018
@zkochan
Copy link
Contributor Author

zkochan commented Feb 6, 2018

When would this be published?

@goto-bus-stop
Copy link
Member

releasing today in module-deps@6 and browserify@16! apologies for the slowness—i'm still a bit scared of doing breaking browserify releases because so many people use it and it's tough to wrap my head around everyone's use cases 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants