Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
feugy committed Nov 22, 2024
1 parent 8c4f0e0 commit 79d016d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 1 addition & 0 deletions packages/web/src/nextjs/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import React, { Suspense, type ReactNode } from 'react';
import { Analytics as AnalyticsScript } from '../react';
import type { AnalyticsProps, BeforeSend, BeforeSendEvent } from '../types';
Expand Down
6 changes: 0 additions & 6 deletions packages/web/tsup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,6 @@ export default defineConfig([
},
external: ['react', 'next'],
outDir: 'dist/next',
esbuildOptions: (options) => {
// Append "use client" to the top of the react entry point
options.banner = {
js: '"use client";',
};
},
},
{
...cfg,
Expand Down

0 comments on commit 79d016d

Please sign in to comment.