From 73fbc535171698385babfc00a0e67231d5b6a27b Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Sat, 12 Oct 2024 12:55:45 +0800 Subject: [PATCH] feat: remove the vercel pkgs --- astro.config.mjs | 5 ----- package.json | 2 -- 2 files changed, 7 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 1e49aaa..83c462f 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -9,8 +9,6 @@ import expressiveCode from 'astro-expressive-code' import { expressiveCodeOptions } from './src/site.config' import icon from 'astro-icon' -import vercel from '@astrojs/vercel/serverless' - import react from '@astrojs/react' // https://astro.build/config @@ -45,7 +43,4 @@ export default defineConfig({ }, prefetch: true, output: 'server', - adapter: vercel({ - webAnalytics: { enabled: true } - }) }) diff --git a/package.json b/package.json index 092b6f0..8ca6713 100644 --- a/package.json +++ b/package.json @@ -23,11 +23,9 @@ "@astrojs/rss": "^4.0.5", "@astrojs/sitemap": "^3.1.1", "@astrojs/tailwind": "^5.1.0", - "@astrojs/vercel": "^7.3.6", "@giscus/react": "^3.0.0", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", - "@vercel/analytics": "^1.2.2", "astro": "^4.4.15", "astro-expressive-code": "^0.33.5", "astro-icon": "^1.1.0",