Remove astro-link-preview integration and delete lock files; update package.json and astro.config.mjs accordingly.

This commit is contained in:
KazooTTT
2025-01-22 13:11:20 +08:00
parent eb017c1923
commit 351a2bfcca
4 changed files with 1 additions and 25786 deletions

View File

@ -10,7 +10,6 @@ import { expressiveCodeOptions } from './src/site.config'
import icon from 'astro-icon'
import react from '@astrojs/react'
import cloudflare from '@astrojs/cloudflare'
import linkPreview from 'astro-link-preview'
// https://astro.build/config
export default defineConfig({
@ -61,8 +60,7 @@ export default defineConfig({
local: './src/icons/*.svg'
}
}),
react(),
linkPreview()
react()
],
markdown: {
remarkPlugins: [remarkUnwrapImages, remarkReadingTime],

15996
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -32,7 +32,6 @@
"astro": "^4.4.15",
"astro-expressive-code": "^0.33.5",
"astro-icon": "^1.1.0",
"astro-link-preview": "^0.3.4",
"axios": "^1.7.7",
"clsx": "^2.1.0",
"fast-xml-parser": "^4.5.0",

9786
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff