Skip to content

Commit

Permalink
chore: 🔧 exclude bundling test files
Browse files Browse the repository at this point in the history
  • Loading branch information
AkashRajpurohit committed Jul 9, 2024
1 parent 3c44e88 commit 9a8768b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tough-baboons-tease.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@akashrajpurohit/utils": patch
---

chore: :wrench: exclude bundling test files
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const isProduction = process.env.NODE_ENV === 'production';
export default defineConfig(({ watch = false }) => ({
clean: true,
dts: true,
entry: ["src/**/*.ts"],
entry: ["src/**/*.ts", "!src/**/*.test.ts"],
external: [],
format: ['cjs', 'esm'],
treeshake: isProduction,
Expand Down

0 comments on commit 9a8768b

Please # to comment.