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

refactor(glob-assets): use 'tinyglobby' instead of 'globby' as dependency #925

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

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:

globby@14.0.2 tinyglobby@0.2.6
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

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