File tree Expand file tree Collapse file tree 6 files changed +19
-71
lines changed Expand file tree Collapse file tree 6 files changed +19
-71
lines changed Original file line number Diff line number Diff line change @@ -208,35 +208,29 @@ function getConfig(): NextConfig {
208208 const withBundleAnalyzer = require ( "@next/bundle-analyzer" ) ( {
209209 enabled : process . env . ANALYZE === "true" ,
210210 } ) ;
211- // eslint-disable-next-line @typescript-eslint/no-var-requires
212- const { withPlausibleProxy } = require ( "next-plausible" ) ;
211+
213212 // eslint-disable-next-line @typescript-eslint/no-var-requires
214213 const { withSentryConfig } = require ( "@sentry/nextjs" ) ;
215214 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 ;
237231 } ,
238- SENTRY_OPTIONS ,
239- ) ,
232+ } ,
233+ SENTRY_OPTIONS ,
240234 ) ,
241235 ) ;
242236 }
Original file line number Diff line number Diff line change 4848 "ipaddr.js" : " ^2.2.0" ,
4949 "lucide-react" : " 0.525.0" ,
5050 "next" : " 15.3.5" ,
51- "next-plausible" : " ^3.12.4" ,
5251 "next-themes" : " ^0.4.6" ,
5352 "nextjs-toploader" : " ^1.6.12" ,
5453 "nuqs" : " ^2.4.3" ,
Original file line number Diff line number Diff line change 11import "../../global.css" ;
22import type { Metadata } from "next" ;
33import { Inter } from "next/font/google" ;
4- import PlausibleProvider from "next-plausible" ;
54import NextTopLoader from "nextjs-toploader" ;
65import { DashboardRouterTopProgressBar } from "@/lib/DashboardRouter" ;
76import { cn } from "@/lib/utils" ;
@@ -52,14 +51,6 @@ export default function RootLayout({
5251} ) {
5352 return (
5453 < html lang = "en" suppressHydrationWarning >
55- < head >
56- < PlausibleProvider
57- customDomain = "https://pl.thirdweb.com"
58- domain = "thirdweb.com"
59- selfHosted
60- />
61- </ head >
62-
6354 < body
6455 className = { cn ( "bg-background font-sans antialiased" , fontSans . variable ) }
6556 >
Original file line number Diff line number Diff line change 11import type { Metadata } from "next" ;
22import { Fira_Code , Inter } from "next/font/google" ;
3- import Script from "next/script" ;
43import { metadataBase } from "@/lib/constants" ;
54import { cn } from "@/lib/utils" ;
65import { AppSidebar } from "./AppSidebar" ;
@@ -36,15 +35,6 @@ export default async function RootLayout({
3635 const sidebarLinks = getSidebarLinks ( ) ;
3736 return (
3837 < 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-
4838 < body
4939 className = { cn (
5040 "bg-background font-sans antialiased " ,
Original file line number Diff line number Diff line change 11import "./globals.css" ;
22import { Fira_Code , Inter } from "next/font/google" ;
3- import Script from "next/script" ;
43import { ThemeProvider } from "next-themes" ;
54import NextTopLoader from "nextjs-toploader" ;
65import { createMetadata } from "@/components/Document" ;
@@ -34,15 +33,6 @@ export default function RootLayout({
3433} ) {
3534 return (
3635 < 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-
4636 < body
4737 className = { cn ( sansFont . variable , monoFont . variable , "font-sans" ) }
4838 suppressHydrationWarning
You can’t perform that action at this time.
0 commit comments