wix / import-cost

displays the import size of the package you are importing inside the code editor
https://marketplace.visualstudio.com/items?itemName=wix.vscode-import-cost
MIT License
1.36k stars 67 forks source link

Abnormal work with pnpm #259

Open liao666brant opened 2 years ago

liao666brant commented 2 years ago

Hello, I have a project using pnpm to install node_modules.It used to work normally, but there's been a problem lately. The plugin isn't displaying anything next to the imports. If you use yarn or npm installation, there is no problem, there was no problem using pnpm a few days ago.

pnpm: 7.0.0-rc.2 Node: 16.14.2

lzdshare commented 2 years ago

I think it's because pnpm uses symbolic link inside node_modules. Someone is aware of it?

Luk-z commented 2 years ago

I think it's because pnpm uses symbolic link inside node_modules. Someone is aware of it?

any suggestion?

matteo2437 commented 1 year ago

Same problem using a turborepo with pnpm

petr166 commented 1 year ago

Same for me, just switched a turborepo from npm to pnpm

waltershewmake commented 7 months ago

Experiencing the same issue. Are there any alternative extensions that work the same as import cost but that work?

nike1v commented 7 months ago

Seems like Wix do not support this library anymore, so we need to make this by ourself! I also tested this issue on my project and this is really unexpected, because I need to optimize the bundle size :)