We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the UA-parser package should be only imported once
somewhere in the rollup config it imports UA-parser twice
see: https://github.com/StefKors/amplitude-client-vite I've setup a basic repo to show what would be possible and highlight bundle issues in Amplitude Javascript. Reducing bundle size from 296 kb to 122.88 kB.
296 kb
122.88 kB
Using detect-ua instead of @amplitude/ua-parser-js will further reduce the bundle size to 96.37 kB
@amplitude/ua-parser-js
96.37 kB
npm run build
The text was updated successfully, but these errors were encountered:
@StefKors - this library is no longer actively being maintained. Can you please use the Browser V2 SDK instead?
Sorry, something went wrong.
No branches or pull requests
Expected Behavior
the UA-parser package should be only imported once
Current Behavior
somewhere in the rollup config it imports UA-parser twice
Possible Solution
see: https://github.com/StefKors/amplitude-client-vite
I've setup a basic repo to show what would be possible and highlight bundle issues in Amplitude Javascript. Reducing bundle size from
296 kb
to122.88 kB
.Using detect-ua instead of
@amplitude/ua-parser-js
will further reduce the bundle size to96.37 kB
Steps to Reproduce
npm run build
Environment
The text was updated successfully, but these errors were encountered: