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

Typescript is included in the bundle #235

Open
C-Higgins opened this issue Apr 26, 2024 · 2 comments
Open

Typescript is included in the bundle #235

C-Higgins opened this issue Apr 26, 2024 · 2 comments

Comments

@C-Higgins
Copy link

Describe the bug

One of your dependencies is improperly scoping their dev dependencies, causing typescript to be included in the final bundle of your package.

Steps to Reproduce the Bug or Issue

❯ yarn why typescript 
yarn why v1.22.22
[1/4] 🤔  Why do we have the module "typescript"...?
[2/4] 🚚  Initialising dependency graph...
[3/4] 🔍  Finding dependency...
[4/4] 🚡  Calculating file sizes...
=> Found "just-types#typescript@5.3.3"
info This module exists because "reagraph#reakeys#ctrl-keys#just-types" depends on it.
info Disk size without dependencies: "30.86MB"
info Disk size with unique dependencies: "30.86MB"
info Disk size with transitive dependencies: "30.86MB"
info Number of shared dependencies: 0

Expected behavior

Not include Typescript

Screenshots or Videos

No response

Platform

All

Your Example Website or App

No response

Additional context

No response

@amcdnl
Copy link
Member

amcdnl commented Apr 26, 2024

Good catch! We will fix asap!

@C-Higgins
Copy link
Author

I wouldn't rely on that package to update; it looks pretty dead. You might need to vendor it

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