Discussing Increased Bundle Size in Typesense Versions
TLDR Tom notices an increase in adapter and typesense bundle sizes, prompting a discussion with Jason. The latter explains a version upgrade targeting ES5 led to the increase. Tom plans to try calling TypeSense directly or using a fork.
Oct 03, 2022 (15 months ago)
I've also noticed the bundle size has increased a lot in the last few versions? (from 63kb to over 100kb?): https://bundlephobia.com/package/[email protected] Any ideas whats in the new versions since
typesensedirectly is also fairly large.
Did something happen after
1.2.2? See: https://bundlephobia.com/package/[email protected] for increase
react-query(for that sweet, sweet retry) and see if that works out okay.
If not, I'll give the fork a go.
Indexed 3015 threads (79% resolved)
Reducing Bundle Size of Typesense-instantsearch-adapter
David raised concern about the large size of the typesense-instantsearch-adapter. Jason suggested enabling tree shaking to reduce the size and also recommended using an existing axios installation.
Issue Resolution on Typesense's Slack channel
Alex transferred issues from GitHub to Slack regarding a large package. Jason suggested a solution and released a reduced version. After testing, Alex confirmed the new version works well.
Issues with Typesense Frontend Search Integration
Akash experienced issues integrating Typesense into their frontend search, particularly with their search box. Jason guided them to troubleshoot, eventually identifying the issue to be with react-instantsearch-dom and suggesting a downgrade to react 17, which resolved the issue.