You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since upgrading from tsup8.2.4 to 8.3.0, glob patterns that previously worked have stopped functioning as expected. Specifically, patterns that use an exclusion followed by an explicit inclusion no longer behave correctly after tsup switched from globby to tinyglobby.
Before, we could exclude all directories starting with a directory prefix and specifically opt out of one. Here is an example:
Issue
Since upgrading from
tsup
8.2.4 to 8.3.0, glob patterns that previously worked have stopped functioning as expected. Specifically, patterns that use an exclusion followed by an explicit inclusion no longer behave correctly aftertsup
switched fromglobby
totinyglobby
.Before, we could exclude all directories starting with a directory prefix and specifically opt out of one. Here is an example:
This would correctly ignore any directory matching
dir-prefix*
while still including thedir-prefix-special
directory.However, from 8.3.0 onwards, the same set of patterns fails to ignore
dir-prefix-special
directory from the exclusion list.Steps to reproduce
src/dir-prefix-foo
andsrc/dir-prefix-special
.dir-prefix-foo
is ignored whiledir-prefix-special
is included.dir-prefix-special
is now also ignored when it should be included.The text was updated successfully, but these errors were encountered: