From 505e59a29355533a8abd0eb8615f5902f13c378a Mon Sep 17 00:00:00 2001
From: Nitansh Shankar <167768158+BIJJUDAMA@users.noreply.github.com>
Date: Wed, 25 Feb 2026 10:33:44 +0530
Subject: [PATCH] fix: removed partytown and legacy GTM (Google Tag Manager)
---
next.config.js | 4 +---
package-lock.json | 15 ------------
package.json | 3 +--
pages/_app.tsx | 6 ++---
pages/_document.tsx | 22 ------------------
src/components/SiteView/index.tsx | 12 +---------
src/components/shared/Base.tsx | 38 ++-----------------------------
7 files changed, 8 insertions(+), 92 deletions(-)
diff --git a/next.config.js b/next.config.js
index b6bbd5f..5395bc7 100644
--- a/next.config.js
+++ b/next.config.js
@@ -25,9 +25,7 @@ const nextConfig = {
// Optimize for AWS deployment
output: 'standalone',
- experimental: {
- nextScriptWorkers: true,
- },
+ experimental: {},
};
module.exports = nextConfig;
diff --git a/package-lock.json b/package-lock.json
index a1ed3bf..bac677d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -51,7 +51,6 @@
"yaml": "^2.6.1"
},
"devDependencies": {
- "@builder.io/partytown": "^0.10.3",
"@types/hast": "^3.0.4",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
@@ -1268,20 +1267,6 @@
"node": ">=6.9.0"
}
},
- "node_modules/@builder.io/partytown": {
- "version": "0.10.3",
- "resolved": "https://registry.npmjs.org/@builder.io/partytown/-/partytown-0.10.3.tgz",
- "integrity": "sha512-N2SWA3c5vEad3rgdAFM3zMb6uc7aXqibkgAz4ijvYzycgQXJ4dE5oH6fGFMXSQWj6ayVlLT1/CmpflYUJHfmQg==",
- "deprecated": "Use @qwik.dev/partytown instead",
- "dev": true,
- "license": "MIT",
- "bin": {
- "partytown": "bin/partytown.cjs"
- },
- "engines": {
- "node": ">=18.0.0"
- }
- },
"node_modules/@emnapi/core": {
"version": "1.8.1",
"resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.8.1.tgz",
diff --git a/package.json b/package.json
index 8d1ce44..6671803 100644
--- a/package.json
+++ b/package.json
@@ -60,7 +60,6 @@
"yaml": "^2.6.1"
},
"devDependencies": {
- "@builder.io/partytown": "^0.10.3",
"@types/hast": "^3.0.4",
"@types/react": "^18.3.0",
"@types/react-dom": "^18.3.0",
@@ -70,4 +69,4 @@
"tailwindcss": "^3.4.17",
"typescript": "^5.7.2"
}
-}
\ No newline at end of file
+}
diff --git a/pages/_app.tsx b/pages/_app.tsx
index 3c81877..8d20773 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -42,8 +42,8 @@ export default function InCTFJrWebApp({ Component, pageProps }) {
{/* Google Analytics */}
{gaId && (
<>
-
-