Skip to content

Commit

Permalink
Updated Svelte dep, added Partytown
Browse files Browse the repository at this point in the history
  • Loading branch information
endigo9740 committed Jan 16, 2025
1 parent e914b7f commit 349ec47
Show file tree
Hide file tree
Showing 4 changed files with 124 additions and 23 deletions.
134 changes: 113 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions sites/next.skeleton.dev/astro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defineConfig } from 'astro/config';
import path from 'node:path';

// Integrations
import partytown from '@astrojs/partytown';
import tailwind from '@astrojs/tailwind';
import svelte from '@astrojs/svelte';
import react from '@astrojs/react';
Expand All @@ -17,6 +18,8 @@ import pagefind from 'vite-plugin-pagefind';
// https://astro.build/config
export default defineConfig({
integrations: [
// https://docs.astro.build/en/guides/integrations-guide/partytown/
partytown(),
// https://docs.astro.build/en/guides/integrations-guide/tailwind/
tailwind(),
// https://docs.astro.build/en/guides/integrations-guide/svelte/
Expand Down
3 changes: 2 additions & 1 deletion sites/next.skeleton.dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^4.0.1",
"@astrojs/partytown": "^2.1.3",
"@astrojs/react": "^4.0.0",
"@astrojs/svelte": "^7.0.1",
"@astrojs/tailwind": "^5.1.3",
Expand All @@ -43,7 +44,7 @@
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hot-toast": "^2.4.1",
"svelte": "^5.6.2",
"svelte": "^5.18.0",
"svelte-check": "^4.1.1",
"tailwindcss": "^3.4.16",
"typescript": "catalog:"
Expand Down
7 changes: 6 additions & 1 deletion sites/next.skeleton.dev/src/layouts/LayoutRoot.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,12 @@ const pageTitle = `${title ? title + ' - ' : ''}Skeleton`;
<meta name="generator" content={Astro.generator} />
<title>{pageTitle}</title>
<!-- Analytics -->
<script defer data-domain="next.skeleton.dev" src="https://events.plygrnd.org/js/script.outbound-links.js" is:inline></script>
<script
type="text/partytown"
defer
data-domain="next.skeleton.dev"
src="https://events.plygrnd.org/js/script.outbound-links.js"
is:inline></script>
<script>
// @ts-expect-error for window.plausible
window.plausible =
Expand Down

0 comments on commit 349ec47

Please sign in to comment.