Closed segevfiner closed 8 months ago
pnpm results in bundling paths like /snapshot/node_modules/.pnpm/foobar@0.1.0/node_modules/foobar/build/Release/foobar.node
/snapshot/node_modules/.pnpm/foobar@0.1.0/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.
node_modules
.pnpm
Contributed on behalf of Swimm
pnpm results in bundling paths like
/snapshot/node_modules/.pnpm/foobar@0.1.0/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