diff --git a/apps/dashboard/next.config.ts b/apps/dashboard/next.config.ts index 4baa4b86582..89c24b9a504 100644 --- a/apps/dashboard/next.config.ts +++ b/apps/dashboard/next.config.ts @@ -208,35 +208,29 @@ function getConfig(): NextConfig { const withBundleAnalyzer = require("@next/bundle-analyzer")({ enabled: process.env.ANALYZE === "true", }); - // eslint-disable-next-line @typescript-eslint/no-var-requires - const { withPlausibleProxy } = require("next-plausible"); + // eslint-disable-next-line @typescript-eslint/no-var-requires const { withSentryConfig } = require("@sentry/nextjs"); return withBundleAnalyzer( - withPlausibleProxy({ - customDomain: "https://pl.thirdweb.com", - scriptName: "pl", - })( - withSentryConfig( - { - ...baseNextConfig, - // @ts-expect-error - this is a valid option - webpack: (config) => { - if (config.cache) { - config.cache = Object.freeze({ - type: "memory", - }); - } - config.module = { - ...config.module, - exprContextCritical: false, - }; - // Important: return the modified config - return config; - }, + withSentryConfig( + { + ...baseNextConfig, + // @ts-expect-error - this is a valid option + webpack: (config) => { + if (config.cache) { + config.cache = Object.freeze({ + type: "memory", + }); + } + config.module = { + ...config.module, + exprContextCritical: false, + }; + // Important: return the modified config + return config; }, - SENTRY_OPTIONS, - ), + }, + SENTRY_OPTIONS, ), ); } diff --git a/apps/dashboard/package.json b/apps/dashboard/package.json index 7b0948c4b00..0e5443345cb 100644 --- a/apps/dashboard/package.json +++ b/apps/dashboard/package.json @@ -48,7 +48,6 @@ "ipaddr.js": "^2.2.0", "lucide-react": "0.525.0", "next": "15.3.5", - "next-plausible": "^3.12.4", "next-themes": "^0.4.6", "nextjs-toploader": "^1.6.12", "nuqs": "^2.4.3", diff --git a/apps/dashboard/src/app/(app)/layout.tsx b/apps/dashboard/src/app/(app)/layout.tsx index 409f064f229..3645f775a43 100644 --- a/apps/dashboard/src/app/(app)/layout.tsx +++ b/apps/dashboard/src/app/(app)/layout.tsx @@ -1,7 +1,6 @@ import "../../global.css"; import type { Metadata } from "next"; import { Inter } from "next/font/google"; -import PlausibleProvider from "next-plausible"; import NextTopLoader from "nextjs-toploader"; import { DashboardRouterTopProgressBar } from "@/lib/DashboardRouter"; import { cn } from "@/lib/utils"; @@ -52,14 +51,6 @@ export default function RootLayout({ }) { return ( -
-