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

pnpm return size of 0 #317

Open
barrett-ruth opened this issue Sep 19, 2023 · 1 comment
Open

pnpm return size of 0 #317

barrett-ruth opened this issue Sep 19, 2023 · 1 comment

Comments

@barrett-ruth
Copy link

Using importCost on a project set up with packages installed by pnpm doesn't work.
Installing the same packages using npm then swapping back to pnpm works (because of the cache).

Tried debugging the issue to see where symlinks aren't respected (this is the main difference from pnpm to npm node_modules) to cause that, might be a problem with webpack itself?

@oddcelot
Copy link

oddcelot commented Nov 8, 2023

Just installed the extension and was wondering why it's not working for most modules 😅
Can confirm, that the resolution of symlinked modules seems to be the issue.
Seems at first glace that symlinks are handled here though…
Looks like #259 deals with the same issue

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

No branches or pull requests

2 participants