-
Notifications
You must be signed in to change notification settings - Fork 73
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
Production Dependency Includes Typescript #878
Comments
This issue has been linked to a new work item: W-14526758 |
It is weird to see tsconfck depends on ts. If you go to npm, and search for tsconfck you will see it does not have dependencies |
It's marked as a peer dependency, which, if I'm understanding the docs correctly, means it will be installed with npm v7 if not installed by another dependency. |
It looks like it's used in production code here I'm not sure the value it's adding over just using |
@AllanOricil Any updates on this? |
I can take a look at this next weekend if isn't fixed by Salesforce by than |
Describe the bug
It seems that the last few versions of
@oclif/core
has re-introduced TypeScript as a production dependency, significantly increase the bundle size of CLIs using OCLIF. This appears to be due to thetsconfck
dependencyThis seems to increase bundle size by about 10MB depending on compression technique and OS target.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
TypeScript is not a production dependency.
Screenshots
N/A
Environment (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: