import-cost icon indicating copy to clipboard operation
import-cost copied to clipboard

pnpm return size of 0

Open barrett-ruth opened this issue 2 years ago • 1 comments

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?

barrett-ruth avatar Sep 19 '23 05:09 barrett-ruth

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 https://github.com/wix/import-cost/issues/259 deals with the same issue

oddcelot avatar Nov 08 '23 12:11 oddcelot