Skip to content

Conversation

oscard0m
Copy link
Contributor

@oscard0m oscard0m commented Sep 13, 2024

📖 Description

Replace globby with tinyglobby as dependency.

📚 Context

With the spirit of reducing the bundle size of semantic-release, this PR aims to replace globby with a more lightweight library: tinyglobby. Other libraries are opting for it: https://e18e.dev/blog/august-contributions-showcase#tinyglobby-fdir as a way to save bundle size.

The comparison looks like this in bundlephobia:

[email protected] [email protected]
26.3kb (minified + gzipped) 10.8kb (minified + gzipped)

CleanShot 2024-09-14 at 01 05 34

@oscard0m oscard0m force-pushed the replace-globby-with-tinyglobby branch from 44aa7de to 685d8fb Compare September 13, 2024 22:24
@oscard0m oscard0m changed the title replace globby with tinyglobby refactor(glob-assets): use 'tinyglobby' instead of 'globby' as dependency Sep 13, 2024
@oscard0m oscard0m force-pushed the replace-globby-with-tinyglobby branch 2 times, most recently from 13db284 to bf1c91b Compare September 13, 2024 22:37
@oscard0m oscard0m marked this pull request as draft September 13, 2024 22:41
@oscard0m oscard0m force-pushed the replace-globby-with-tinyglobby branch 2 times, most recently from 38653d2 to c1ef4f4 Compare September 13, 2024 22:45
@oscard0m oscard0m force-pushed the replace-globby-with-tinyglobby branch from c1ef4f4 to 2064e1d Compare September 13, 2024 22:49
@oscard0m
Copy link
Contributor Author

oscard0m commented Sep 13, 2024

Converted to draft as there are some tests failing. If tinyglobby is not behaving equal to globby... not ideal.

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.

1 participant