Skip to content

Commit

Permalink
fix: ‘use client’ directive syntax (#2891)
Browse files Browse the repository at this point in the history
  • Loading branch information
sawyerh authored Apr 18, 2024
1 parent f1372eb commit 4e78d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export default defineConfig(({ mode: _mode }) => {
banner: (assetInfo) =>
assetInfo.fileName.endsWith('.js') ||
assetInfo.fileName.endsWith('.mjs')
? '"use client;"'
? '"use client";'
: '',
globals: {
react: 'React',
Expand Down

0 comments on commit 4e78d7e

Please sign in to comment.