import-cost
import-cost copied to clipboard
pnpm return size of 0
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?
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