diff --git a/.changeset/tough-baboons-tease.md b/.changeset/tough-baboons-tease.md new file mode 100644 index 0000000..79c4d32 --- /dev/null +++ b/.changeset/tough-baboons-tease.md @@ -0,0 +1,5 @@ +--- +"@akashrajpurohit/utils": patch +--- + +chore: :wrench: exclude bundling test files diff --git a/tsup.config.ts b/tsup.config.ts index a8a1329..a01d4e9 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -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,