feat: enhance image handling and analytics configuration

- Add @unpic/astro for improved image optimization
- Configure image service with blurhash placeholder
- Update analytics script to support custom JavaScript URLs
- Modify preload configuration for more flexible analytics integration
- Remove deprecated rehype image transformation plugin
This commit is contained in:
radishzzz 2025-02-21 01:25:38 +00:00
parent 6bcd51765d
commit ad9fabe937
8 changed files with 218 additions and 146 deletions

View file

@ -62,6 +62,7 @@
"antfu",
"astrojs",
"attributify",
"blurhash",
"bmoji",
"Frontmatter",
"gtag",
@ -86,6 +87,7 @@
"titlebar",
"Umami",
"unocss",
"unpic",
"vite",
"waline",
"weibo"