perf: optimize site images
@@ -11,6 +11,9 @@ export default defineUserConfig({
|
||||
lang: 'zh-CN',
|
||||
title: '氓氓小栈',
|
||||
description: '氓氓小栈',
|
||||
|
||||
head: [['link', { rel: 'icon', href: '/favicon.png' }]],
|
||||
|
||||
theme,
|
||||
bundler: viteBundler({
|
||||
viteOptions: {
|
||||
|
||||
|
Before Width: | Height: | Size: 9.7 MiB |
|
After Width: | Height: | Size: 61 KiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 394 B |
|
Before Width: | Height: | Size: 1.2 MiB |
|
Before Width: | Height: | Size: 1.3 MiB |
|
Before Width: | Height: | Size: 1.4 MiB |
|
After Width: | Height: | Size: 5.7 KiB |
@@ -39,8 +39,8 @@ export default hopeTheme(
|
||||
sidebar,
|
||||
|
||||
// 网站logo设置
|
||||
logo: 'logo/transparentLogo.png', // 亮色模式下的logo
|
||||
logoDark: 'logo/transparentLogo.png', // 暗色模式下的logo
|
||||
logo: 'logo/transparentLogo.webp', // 亮色模式下的logo
|
||||
logoDark: 'logo/transparentLogo.webp', // 暗色模式下的logo
|
||||
|
||||
// 支持简写仓库名称,会解析到 GitHub 上,同时也可以是一个完整的 URL
|
||||
// repo: "https://gitea.mangmang.fun/mangmang/blog",
|
||||
|
||||