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

Is this importing svelte-search two times? #24

Closed
frederikhors opened this issue Aug 9, 2021 · 2 comments
Closed

Is this importing svelte-search two times? #24

frederikhors opened this issue Aug 9, 2021 · 2 comments

Comments

@frederikhors
Copy link

frederikhors commented Aug 9, 2021

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
Copy link
Owner

metonym commented Aug 10, 2021

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

@frederikhors
Copy link
Author

Thanks.

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

No branches or pull requests

2 participants