Skip to content

Commit b8db426

Browse files
authored
feat: ignore more test paths (#115)
1 parent 5578a05 commit b8db426

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/tasty-feet-complain.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"bob-the-bundler": minor
3+
---
4+
5+
Ignore `__tests__` and `__testUtils__` from bundling

src/commands/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ interface PackageInfo {
3333
const filesToExcludeFromDist = [
3434
"**/test/**",
3535
"**/tests/**",
36+
"**/__tests__/**",
37+
"**/__testUtils__/**",
3638
"**/*.spec.*",
3739
"**/*.test.*",
3840
"**/dist",

0 commit comments

Comments
 (0)