diff --git a/vite.config.ts b/vite.config.ts index 528333a1..0c2bc385 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -30,6 +30,9 @@ export default defineConfig({ react: 'React', 'react-dom': 'ReactDOM', }, + banner() { + return `'use client';`; + }, }, }, },