Skip to content

Commit f91ca94

Browse files
authored
docs: reduce png images (#9462)
1 parent 20f8753 commit f91ca94

28 files changed

Lines changed: 2 additions & 1 deletion

docs/.vitepress/config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export default ({ mode }: { mode: string }) => {
5050
},
5151
head: [
5252
['meta', { name: 'theme-color', content: '#22FF84' }],
53+
['link', { rel: 'icon', href: '/favicon.ico', sizes: '48x48' }],
5354
['link', { rel: 'icon', href: '/logo-without-border.svg', type: 'image/svg+xml' }],
5455
['meta', { name: 'author', content: `${teamMembers.map(c => c.name).join(', ')} and ${vitestName} contributors` }],
5556
['meta', { name: 'keywords', content: 'vitest, vite, test, coverage, snapshot, react, vue, preact, svelte, solid, lit, marko, ruby, cypress, puppeteer, jsdom, happy-dom, test-runner, jest, typescript, esm, tinyspy, node' }],

docs/.vitepress/scripts/pwa.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export const pwa: PwaOptions = {
5252
screenshots: [{
5353
src: 'og.jpg',
5454
sizes: '2258x1185',
55-
type: 'image/png',
55+
type: 'image/jpeg',
5656
label: `Screenshot of ${vitestName}`,
5757
}],
5858
handle_links: 'preferred',
-203 KB
Loading
-312 KB
Loading
-314 KB
Loading

docs/public/docs-api-dark.png

-906 KB
Loading

docs/public/docs-api-light.png

-841 KB
Loading
-373 KB
Loading

docs/public/otel-jaeger.png

-187 KB
Loading
-130 KB
Loading

0 commit comments

Comments
 (0)