File tree Expand file tree Collapse file tree 6 files changed +20
-72
lines changed Expand file tree Collapse file tree 6 files changed +20
-72
lines changed Original file line number Diff line number Diff line change @@ -208,35 +208,29 @@ function getConfig(): NextConfig {
208
208
const withBundleAnalyzer = require ( "@next/bundle-analyzer" ) ( {
209
209
enabled : process . env . ANALYZE === "true" ,
210
210
} ) ;
211
- // eslint-disable-next-line @typescript-eslint/no-var-requires
212
- const { withPlausibleProxy } = require ( "next-plausible" ) ;
211
+
213
212
// eslint-disable-next-line @typescript-eslint/no-var-requires
214
213
const { withSentryConfig } = require ( "@sentry/nextjs" ) ;
215
214
return withBundleAnalyzer (
216
- withPlausibleProxy ( {
217
- customDomain : "https://pl.thirdweb.com" ,
218
- scriptName : "pl" ,
219
- } ) (
220
- withSentryConfig (
221
- {
222
- ...baseNextConfig ,
223
- // @ts -expect-error - this is a valid option
224
- webpack : ( config ) => {
225
- if ( config . cache ) {
226
- config . cache = Object . freeze ( {
227
- type : "memory" ,
228
- } ) ;
229
- }
230
- config . module = {
231
- ...config . module ,
232
- exprContextCritical : false ,
233
- } ;
234
- // Important: return the modified config
235
- return config ;
236
- } ,
215
+ withSentryConfig (
216
+ {
217
+ ...baseNextConfig ,
218
+ // @ts -expect-error - this is a valid option
219
+ webpack : ( config ) => {
220
+ if ( config . cache ) {
221
+ config . cache = Object . freeze ( {
222
+ type : "memory" ,
223
+ } ) ;
224
+ }
225
+ config . module = {
226
+ ...config . module ,
227
+ exprContextCritical : false ,
228
+ } ;
229
+ // Important: return the modified config
230
+ return config ;
237
231
} ,
238
- SENTRY_OPTIONS ,
239
- ) ,
232
+ } ,
233
+ SENTRY_OPTIONS ,
240
234
) ,
241
235
) ;
242
236
}
Original file line number Diff line number Diff line change 48
48
"ipaddr.js" : " ^2.2.0" ,
49
49
"lucide-react" : " 0.525.0" ,
50
50
"next" : " 15.3.5" ,
51
- "next-plausible" : " ^3.12.4" ,
52
51
"next-themes" : " ^0.4.6" ,
53
52
"nextjs-toploader" : " ^1.6.12" ,
54
53
"nuqs" : " ^2.4.3" ,
Original file line number Diff line number Diff line change 1
1
import "../../global.css" ;
2
2
import type { Metadata } from "next" ;
3
3
import { Inter } from "next/font/google" ;
4
- import PlausibleProvider from "next-plausible" ;
5
4
import NextTopLoader from "nextjs-toploader" ;
6
5
import { DashboardRouterTopProgressBar } from "@/lib/DashboardRouter" ;
7
6
import { cn } from "@/lib/utils" ;
@@ -52,14 +51,6 @@ export default function RootLayout({
52
51
} ) {
53
52
return (
54
53
< html lang = "en" suppressHydrationWarning >
55
- < head >
56
- < PlausibleProvider
57
- customDomain = "https://pl.thirdweb.com"
58
- domain = "thirdweb.com"
59
- selfHosted
60
- />
61
- </ head >
62
-
63
54
< body
64
55
className = { cn ( "bg-background font-sans antialiased" , fontSans . variable ) }
65
56
>
Original file line number Diff line number Diff line change 1
1
import type { Metadata } from "next" ;
2
2
import { Fira_Code , Inter } from "next/font/google" ;
3
- import Script from "next/script" ;
4
3
import { metadataBase } from "@/lib/constants" ;
5
4
import { cn } from "@/lib/utils" ;
6
5
import { AppSidebar } from "./AppSidebar" ;
@@ -36,15 +35,6 @@ export default async function RootLayout({
36
35
const sidebarLinks = getSidebarLinks ( ) ;
37
36
return (
38
37
< html lang = "en" suppressHydrationWarning >
39
- < head >
40
- < Script
41
- data-api = "https://pl.thirdweb.com/api/event"
42
- data-domain = "playground.thirdweb.com"
43
- defer
44
- src = "https://thirdweb.com/js/pl.js"
45
- />
46
- </ head >
47
-
48
38
< body
49
39
className = { cn (
50
40
"bg-background font-sans antialiased " ,
Original file line number Diff line number Diff line change 1
1
import "./globals.css" ;
2
2
import { Fira_Code , Inter } from "next/font/google" ;
3
- import Script from "next/script" ;
4
3
import { ThemeProvider } from "next-themes" ;
5
4
import NextTopLoader from "nextjs-toploader" ;
6
5
import { createMetadata } from "@/components/Document" ;
@@ -34,15 +33,6 @@ export default function RootLayout({
34
33
} ) {
35
34
return (
36
35
< html lang = "en" suppressHydrationWarning >
37
- < head >
38
- < Script
39
- data-api = "https://pl.thirdweb.com/api/event"
40
- data-domain = "portal.thirdweb.com"
41
- defer
42
- src = "https://thirdweb.com/js/pl.js"
43
- />
44
- </ head >
45
-
46
36
< body
47
37
className = { cn ( sansFont . variable , monoFont . variable , "font-sans" ) }
48
38
suppressHydrationWarning
You can’t perform that action at this time.
0 commit comments