Skip to content

Commit

Permalink
Merge pull request #107 from crashmax-dev/feat/use-client
Browse files Browse the repository at this point in the history
feat(react): add "use client" to build output
  • Loading branch information
crashmax-dev committed May 7, 2023
2 parents 175d4bc + 83c2ea2 commit e6da864
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ export default defineConfig({
`\n * homepage: ${homepage}` +
`\n * license ${license}\n */`
)],
esbuild: {
banner: '"use client";'
},
build: {
target: 'esnext',
lib: {
Expand Down

0 comments on commit e6da864

Please sign in to comment.