Skip to content

Commit

Permalink
refactor(glob-assets): use 'tinyglobby' instead of 'globby' as depend…
Browse files Browse the repository at this point in the history
…ency

globby@14.0.2 is 26.3kb (minified + gzipped) -> https://bundlephobia.com/package/globby@14.0.2
tinyglobby@0.2.6 is 10.8kb (minified + gzipped) https://bundlephobia.com/package/tinyglobby@0.2.6

and other libraries are opting for it: https://e18e.dev/blog/august-contributions-showcase#tinyglobby-fdir
  • Loading branch information
oscard0m committed Sep 13, 2024
1 parent 7981b08 commit 8fe6688
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/glob-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ export default async function globAssets({ cwd }, assets) {
const globbed = await globby(glob, {
cwd,
expandDirectories: false, // TODO Temporary workaround for https://github.com/mrmlnc/fast-glob/issues/47
gitignore: false,
dot: true,
onlyFiles: false,
});
Expand Down

0 comments on commit 8fe6688

Please sign in to comment.