-
Notifications
You must be signed in to change notification settings - Fork 16
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
Package size #1272
Comments
Hi, Thanks for your report. Unfortunately I don't think there is a quick fix here. Stripping docs and comments only shave a few MB, the core seems to be code. Basic minification doesn't seem to change that much either. We'll update if we find a way. |
Thanks! |
Thanks for your contribution! This issue has been automatically marked as stale because it has not had activity in the last 30 days. Note that the issue will not be automatically closed, but this notification will remind us to investigate why there's been inactivity. Thank you for participating in the Datadog open source community. If you would like this issue to remain open:
|
Joining the request to fix this, we can't use this lib when it is bloated like that and resort to using raw HTTP API requests |
Yo datadoggers, how's it going?
Is there any way to avoid that big package size?
I am deploying on lambda which runs on size constraints, and even by stripping away
*.map
and*.d.ts
there's still 10mb of diet to do 🤷🏻For now I'm replacing calls to the SDK with raw HTTP requests. However, I wanted to share that feedback because it makes the usage of the native TS SDK very prohibitive.
The text was updated successfully, but these errors were encountered: