diff --git a/bun.lockb b/bun.lockb index 9c71f03bf..aaa2b07f9 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/packages/website/astro.config.mjs b/packages/website/astro.config.mjs index 3b002a848..45bd1c5dc 100644 --- a/packages/website/astro.config.mjs +++ b/packages/website/astro.config.mjs @@ -1,5 +1,6 @@ // @ts-check +import partytown from '@astrojs/partytown'; import react from '@astrojs/react'; import sitemap from '@astrojs/sitemap'; import { SUPPORTED_LOCALES } from '@blitzkit/i18n'; @@ -20,7 +21,7 @@ export default defineConfig({ outDir: '../../dist/website', prefetch: true, - integrations: [react(), sitemap()], + integrations: [react(), sitemap(), partytown()], vite: { resolve: { alias: { diff --git a/packages/website/package.json b/packages/website/package.json index a49292006..4e88aa0c1 100644 --- a/packages/website/package.json +++ b/packages/website/package.json @@ -10,6 +10,7 @@ "astro": "astro" }, "dependencies": { + "@astrojs/partytown": "^2.1.4", "@blitzkit/core": "workspace:*", "@blitzkit/i18n": "workspace:*", "@nanostores/persistent": "^0.10.2", diff --git a/packages/website/src/components/Party3.astro b/packages/website/src/components/Party3.astro index e1c275e78..415e5b90d 100644 --- a/packages/website/src/components/Party3.astro +++ b/packages/website/src/components/Party3.astro @@ -10,9 +10,14 @@ const PUBLIC_GOOGLE_TAG_MANAGER_ID = assertSecret( -