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

Doesn't work on local packages in monorepo

Open R-Bower opened this issue 3 years ago • 1 comments

I'm leveraging yarn workspaces and lerna in one of my projects and it'd be nice to know the import cost of linked, local packages. The packages are linked locally using tsconfig.json. Strangely enough, it works for raw typescript dependencies but not TSX components. Any ideas?

R-Bower avatar Jun 18 '21 01:06 R-Bower

We don't count the package size manually, we use import-cost package (https://citw.dev/posts/import-cost) which uses webpack under the hood. So, the limitations are on the package or webpack side.

anstarovoyt avatar Nov 20 '22 17:11 anstarovoyt