Skip to content

Commit

Permalink
build: specify target and use more agressive treeshaking
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens committed Nov 26, 2024
1 parent fb8a266 commit 8e43dd7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,8 @@ export default defineConfig({
format: ["cjs", "esm"],
outDir: "lib",
sourcemap: false,
target: "node16",
treeshake: {
preset: "smallest",
},
});

0 comments on commit 8e43dd7

Please sign in to comment.