Skip to content

Commit

Permalink
Exclude *.d.ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
tusharsnx committed Mar 25, 2024
1 parent 6475762 commit 4ef7549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Options } from "tsup";
const isProduction = process.env.NODE_ENV == "production";

export default <Options>{
entry: ["src/*.ts"],
entry: ["src/*.ts", "!*/*.d.ts"],
clean: true,
format: ["cjs", "esm"],
dts: true,
Expand Down

0 comments on commit 4ef7549

Please sign in to comment.