-
Notifications
You must be signed in to change notification settings - Fork 134
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
Tree shaking support #402
Comments
Hi there ! Are there any news on this? For the context, we have an npm package that uses Thank you for your response in advance! |
Hi all, thanks for the suggestion. This is part of our roadmap and we are hoping to support this by early next year. |
any updates on this? having the same issue
|
Announcement 📣Amplitude is introducing a new TypeScript SDK for Browser [BETA]. This new SDK provides improved developer experience, helps users instrument data more seamlessly and provide more control over data being instrumented using custom plugins. The new SDKs also comes with:
To learn more about the new SDK, here are some useful links: |
Summary
For people, who use a subset api Amplitude API loading the whole library is an overhead. We are optimizing the project to make login/registration pages very fast to load and amplitude (unminified, 200kb) currently has size of our whole UI library + React-DOM combined. The only functions we use are logEvent and setUserProperties
Motivations
Lots of libraries (like date-fns or lodash) allow to import specific functions instead of the whole large module
The text was updated successfully, but these errors were encountered: