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.
1
1
Oct 03, 2022 (15 months ago)
Tom
02:22 PMI'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
2.4.0
?Tom
02:37 PMtypesense
directly is also fairly large.Did something happen after
1.2.2
? See: https://bundlephobia.com/package/[email protected] for increaseJason
03:19 PM1
Jason
03:21 PMTom
03:22 PMreact-query
(for that sweet, sweet retry) and see if that works out okay.If not, I'll give the fork a go.
1
Typesense
Indexed 3015 threads (79% resolved)
Similar Threads
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.