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

Optimize bundle size #204

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Optimize bundle size #204

merged 1 commit into from
Jan 9, 2024

Conversation

nbasili
Copy link
Contributor

@nbasili nbasili commented Jan 4, 2024

Follow up on issue: #203

The scope is to try and reduce the bundle size of @transifex/native by taking the following actions:

  • Replace axios with fetch when making requests.
  • Add browserslist to reduce bundle size, by dropping support for outdated browsers.

Additionally the rewrite to using fetch is handling #200

  • Add timeout on fetch requests

kbairak
kbairak previously approved these changes Jan 9, 2024
- Replace axios with fetch
- Add browserslist to reduce bundle size
- Add timeout on fetch requests
@nbasili nbasili merged commit a2e9051 into master Jan 9, 2024
5 checks passed
@nbasili nbasili deleted the replace-axios-with-fetch branch January 9, 2024 11:46
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

Successfully merging this pull request may close these issues.

None yet

2 participants