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

fix: over extracting native modules with pnpm #14

Conversation

segevfiner
Copy link

@segevfiner segevfiner commented Dec 27, 2023

pnpm results in bundling paths like /snapshot/node_modules/.pnpm/[email protected]/node_modules/foobar/build/Release/foobar.node

So use the last node_modules instead of the first to figure out what to extract so as to not extract the entire .pnpm folder.

Contributed on behalf of Swimm

Copy link
Member

@robertsLando robertsLando left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robertsLando robertsLando changed the title Fix over extracting native modules with pnpm fix: over extracting native modules with pnpm Jan 3, 2024
@robertsLando robertsLando merged commit e435796 into yao-pkg:main Jan 3, 2024
5 of 6 checks passed
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.

2 participants