diff --git a/astro.config.mjs b/astro.config.mjs index 5c66377..d5cb799 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,8 +10,6 @@ import cloudflare from '@astrojs/cloudflare'; import remarkMath from "remark-math"; import rehypeKatex from "rehype-katex"; -import partytown from '@astrojs/partytown'; - export default defineConfig({ site: 'https://terminal-blog.example.com', base: '/', @@ -34,7 +32,7 @@ export default defineConfig({ rehypePlugins: [ rehypeKatex ] }, - integrations: [sitemap(), mdx(), partytown()], + integrations: [sitemap(), mdx()], adapter: cloudflare() }); \ No newline at end of file diff --git a/package.json b/package.json index c192e93..7410bd3 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,6 @@ "@astrojs/cloudflare": "^12.5.4", "@astrojs/mdx": "^4.2.6", "@astrojs/node": "^9.2.2", - "@astrojs/partytown": "^2.1.4", "@astrojs/rss": "^4.0.1", "@astrojs/sitemap": "^3.3.1", "@fontsource-variable/jetbrains-mono": "^5.2.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b07960a..81207d7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,9 +17,6 @@ importers: '@astrojs/node': specifier: ^9.2.2 version: 9.2.2(astro@5.7.10(@azure/identity@4.9.1)(@types/node@22.15.3)(rollup@4.40.1)(typescript@5.8.3)(yaml@2.7.1)) - '@astrojs/partytown': - specifier: ^2.1.4 - version: 2.1.4 '@astrojs/rss': specifier: ^4.0.1 version: 4.0.11 @@ -100,9 +97,6 @@ packages: peerDependencies: astro: ^5.3.0 - '@astrojs/partytown@2.1.4': - resolution: {integrity: sha512-loUrAu0cGYFDC6dHVRiomdsBJ41VjDYXPA+B3Br51V5hENFgDSOLju86OIj1TvBACcsB22UQV7BlppODDG5gig==} - '@astrojs/prism@3.2.0': resolution: {integrity: sha512-GilTHKGCW6HMq7y3BUv9Ac7GMe/MO9gi9GW62GzKtth0SwukCu/qp2wLiGpEujhY+VVhaG9v7kv/5vFzvf4NYw==} engines: {node: ^18.17.1 || ^20.3.0 || >=22.0.0} @@ -844,11 +838,6 @@ packages: resolution: {integrity: sha512-c83qWb22rNRuB0UaVCI0uRPNRr8Z0FWnEIvT47jiHAmOIUHbBOg5XvV7pM5x+rKn9HRpjxquDbXYSXr3fAKFcw==} engines: {node: '>=12'} - '@qwik.dev/partytown@0.11.2': - resolution: {integrity: sha512-795y49CqBiKiwKAD+QBZlzlqEK275hVcazZ7wBPSfgC23L+vWuA7PJmMpgxojOucZHzYi5rAAQ+IP1I3BKVZxw==} - engines: {node: '>=18.0.0'} - hasBin: true - '@rollup/pluginutils@5.1.4': resolution: {integrity: sha512-USm05zrsFxYLPdWWq+K3STlWiT/3ELn3RcV5hJMghpeAIhxfsUIg6mt12CBJBInWMV4VneoV7SfGv8xIwo2qNQ==} engines: {node: '>=14.0.0'} @@ -3481,11 +3470,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@astrojs/partytown@2.1.4': - dependencies: - '@qwik.dev/partytown': 0.11.2 - mrmime: 2.0.1 - '@astrojs/prism@3.2.0': dependencies: prismjs: 1.30.0 @@ -4138,10 +4122,6 @@ snapshots: '@pnpm/network.ca-file': 1.0.2 config-chain: 1.1.13 - '@qwik.dev/partytown@0.11.2': - dependencies: - dotenv: 16.5.0 - '@rollup/pluginutils@5.1.4(rollup@4.40.1)': dependencies: '@types/estree': 1.0.7 diff --git a/src/components/helper/head/Meta.astro b/src/components/helper/head/Meta.astro index ac87257..ec611c9 100644 --- a/src/components/helper/head/Meta.astro +++ b/src/components/helper/head/Meta.astro @@ -2,7 +2,6 @@ import Favicon from "../../../assets/favicon.png"; import FaviconSvg from '../../../assets/favicon.svg'; import {getImage} from "astro:assets"; -import {siteConfig} from "../../../config"; const appleTouchIcon = await getImage({ src: Favicon, @@ -25,13 +24,6 @@ const canonicalURL = new URL(Astro.url.pathname, Astro.site); {author && } -{/* RSS */} - {/* PWA */}