diff --git a/vite.config.ts b/vite.config.ts index 82782cf49f..dfe4239e3f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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',