From 9f46be6468c2c19e2137eb68fb9dcf6f39df1b05 Mon Sep 17 00:00:00 2001 From: naamukim Date: Fri, 29 Aug 2025 11:51:28 +0900 Subject: [PATCH] chore(tsup): add 'use client' directive banner for RSC compatibility --- tsup.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tsup.config.ts b/tsup.config.ts index 97016745..bca74b05 100644 --- a/tsup.config.ts +++ b/tsup.config.ts @@ -1,6 +1,9 @@ import { defineConfig } from 'tsup'; const defaultConfig = { + banner: { + js: '"use client";', + }, entry: ['**/index.ts'], splitting: false, clean: true,