metonym / svelte-typeahead

Accessible, fuzzy search typeahead component
https://metonym.github.io/svelte-typeahead
MIT License
222 stars 18 forks source link

Is this importing svelte-search two times? #24

Closed frederikhors closed 3 years ago

frederikhors commented 3 years ago

I'm using this amazing component in a "@sveltejs/kit": "1.0.0-next.142".

Analyzing with source-map-explorer I found that svelte-typeahead is ~7KB but there is svelte-search too ~4KB.

Screenshot 2021-08-09 at 21 08 55

image

Is this correct?

Or am I importing svelte-search two times?

metonym commented 3 years ago

This is correct. svelte-typeahead depends on svelte-search and fuzzy.

frederikhors commented 3 years ago

Thanks.