From 6d6ec34ead36bc1e05f8f458a4e58c44c7c6dc91 Mon Sep 17 00:00:00 2001 From: Edoardo Ranghieri Date: Tue, 16 Jul 2024 01:43:54 +0200 Subject: [PATCH] build: don't bundle files --- packages/next-safe-action/tsup.config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/next-safe-action/tsup.config.ts b/packages/next-safe-action/tsup.config.ts index 818de5e4..4dbf5580 100644 --- a/packages/next-safe-action/tsup.config.ts +++ b/packages/next-safe-action/tsup.config.ts @@ -1,7 +1,8 @@ import { defineConfig } from "tsup"; export default defineConfig({ - entry: ["src/index.ts", "src/hooks.ts", "src/stateful-hooks.ts"], + entry: ["src/*.ts"], + bundle: false, format: ["esm"], clean: true, splitting: false,