Skip to content

Commit

Permalink
fix: add 'use client' to output code (#253)
Browse files Browse the repository at this point in the history
fix: add 'use client' banner to output
  • Loading branch information
BlankParticle authored Mar 12, 2024
1 parent 719acb6 commit 40e57a9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/next-themes/tsup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ import { defineConfig } from 'tsup'
export default defineConfig({
sourcemap: false,
minify: true,
banner: {
js: `'use client'`
},
dts: true,
format: ['esm', 'cjs'],
loader: {
Expand Down

0 comments on commit 40e57a9

Please sign in to comment.