Skip to content

Commit 97f80a7

Browse files
committed
Fixed partytown config for astro
1 parent 088ac10 commit 97f80a7

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

astro.config.mjs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,10 @@ import partytown from "@astrojs/partytown";
88
// https://astro.build/config
99
export default defineConfig({
1010
site: "https://jsuraj.github.io",
11-
integrations: [tailwind(), mdx(), react(), partytown()],
11+
integrations: [
12+
tailwind(),
13+
mdx(),
14+
react(),
15+
partytown({ config: { forward: ["dataLayer.push"] } }),
16+
],
1217
});

0 commit comments

Comments
 (0)