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

Doesn't work on local packages in monorepo #41

Open
R-Bower opened this issue Jun 18, 2021 · 1 comment
Open

Doesn't work on local packages in monorepo #41

R-Bower opened this issue Jun 18, 2021 · 1 comment

Comments

@R-Bower
Copy link

R-Bower commented Jun 18, 2021

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?

@anstarovoyt
Copy link
Collaborator

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.

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