Skip to content

Commit

Permalink
build: bundle library (#205)
Browse files Browse the repository at this point in the history
Re-enable library bundling.

closes #204
  • Loading branch information
TheEdoRan authored Jul 20, 2024
1 parent 079324d commit 4089f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/next-safe-action/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { defineConfig } from "tsup";

export default defineConfig({
entry: ["src/*.ts", "src/adapters/*.ts"],
bundle: false,
entry: ["src/index.ts", "src/hooks.ts", "src/stateful-hooks.ts", "src/adapters/*.ts"],
bundle: true,
format: ["esm"],
clean: true,
splitting: false,
Expand Down

0 comments on commit 4089f87

Please sign in to comment.