diff --git a/.vitepress/buildEnd.config.ts b/.vitepress/buildEnd.config.ts index 8e0d72b7..4f644459 100644 --- a/.vitepress/buildEnd.config.ts +++ b/.vitepress/buildEnd.config.ts @@ -14,7 +14,7 @@ export const buildEnd = async (config: SiteConfig): Promise => { id: blogUrl, link: blogUrl, language: 'en', - image: 'https://vite.dev/og-image.png', + image: 'https://vite.dev/og-image.jpg', favicon: 'https://vite.dev/logo.svg', copyright: 'Copyright © 2019-present VoidZero Inc. & Vite Contributors', }) diff --git a/.vitepress/theme/components/AsideSponsors.vue b/.vitepress/theme/components/AsideSponsors.vue index 55a52c48..d9c17559 100644 --- a/.vitepress/theme/components/AsideSponsors.vue +++ b/.vitepress/theme/components/AsideSponsors.vue @@ -24,7 +24,12 @@ const sponsors = computed(() => { href="https://viteconf.org/?utm=vite-sidebar" target="_blank" > - ViteConf Logo + ViteConf Logo

Building Together

ViteConf 2025

diff --git a/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue b/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue index 171f58e0..3e0608d5 100644 --- a/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue +++ b/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue @@ -470,7 +470,7 @@ onMounted(() => {
{ } background: - url('/noise.png'), + url('../common/noise.webp'), radial-gradient( circle at right center, rgb(86, 50, 119) 0%, @@ -732,7 +732,7 @@ onMounted(() => { @media (min-width: 1024px) { background: - url('/noise.png'), + url('../common/noise.webp'), radial-gradient( circle at right center, rgba(75, 41, 105, 0.5) 0%, @@ -751,7 +751,7 @@ onMounted(() => { @media (min-width: 1500px) { background: - url('/noise.png'), + url('../common/noise.webp'), radial-gradient( circle at right center, rgba(75, 41, 105, 0.5) 0%, @@ -770,7 +770,7 @@ onMounted(() => { @media (min-width: 1800px) { background: - url('/noise.png'), + url('../common/noise.webp'), radial-gradient( circle at right center, rgba(75, 41, 105, 0.5) 0%, diff --git a/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue b/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue index 52bce68e..b6c19399 100644 --- a/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue +++ b/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue @@ -11,7 +11,12 @@ import HeroDiagram from './HeroDiagram.vue' class="hero__pill" target="_blank" > - Viteconf logo + Viteconf logo ViteConf 2025 @@ -30,7 +35,7 @@ import HeroDiagram from './HeroDiagram.vue' target="_blank" class="btn btn--outline" > - GitHub logo + GitHub logo GitHub
diff --git a/public/github.svg b/.vitepress/theme/components/landing/1. hero-section/github.svg similarity index 100% rename from public/github.svg rename to .vitepress/theme/components/landing/1. hero-section/github.svg diff --git a/.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue b/.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue index 55b35cfd..80b2b265 100644 --- a/.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue +++ b/.vitepress/theme/components/landing/2. feature-section/FeatureInstantServerStart.vue @@ -344,7 +344,7 @@ onUnmounted(() => { height: 100%; border-radius: 12px 0 0 12px; background: - url('/noise.png'), + url('../common/noise.webp'), radial-gradient( ellipse 140% 80% at 96% bottom, #13b351 0%, @@ -381,7 +381,7 @@ onUnmounted(() => { right: 40px; width: 1px; height: calc(100% - 170px - 33px); - background: url('/noise.png'), #13b351; + background: url('../common/noise.webp'), #13b351; box-shadow: 0 0 10px 0 #13b351; transition: all 0.5s ease-in; will-change: transform, opacity; diff --git a/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue b/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue index 84c96abc..1de84b3f 100644 --- a/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue +++ b/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue @@ -41,7 +41,7 @@ const { data } = useSponsor() Vite is made possible by our contributors, partner companies, and sponsors = { @@ -37,13 +40,13 @@ const viteSponsors: Pick = { { name: 'Bolt', url: 'https://bolt.new', - img: '/bolt.svg', + img: boltSvg, }, // sponsors antfu { name: 'NuxtLabs', url: 'https://nuxtlabs.com', - img: '/nuxtlabs.svg', + img: nuxtLabsSvg, }, ], gold: [ diff --git a/blog/announcing-vite3.md b/blog/announcing-vite3.md index efb3be87..d8ea30c1 100644 --- a/blog/announcing-vite3.md +++ b/blog/announcing-vite3.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 3 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite3.png + content: https://vite.dev/og-image-announcing-vite3.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite3 @@ -31,7 +31,7 @@ _July 23, 2022_ - Check out the [Vite 4.0 announcement](./announcing-vite4.md) In February last year, [Evan You](https://twitter.com/youyuxi) released Vite 2. Since then, its adoption has grown non-stop, reaching more than 1 million npm downloads per week. A sprawling ecosystem rapidly formed after the release. Vite is powering a renewed innovation race in Web frameworks. [Nuxt 3](https://v3.nuxtjs.org/) uses Vite by default. [SvelteKit](https://kit.svelte.dev/), [Astro](https://astro.build/), [Hydrogen](https://hydrogen.shopify.dev/), and [SolidStart](https://docs.solidjs.com/quick-start) are all built with Vite. [Laravel has now decided to use Vite by default](https://laravel.com/docs/9.x/vite). [Vite Ruby](https://vite-ruby.netlify.app/) shows how Vite can improve Rails DX. [Vitest](https://vitest.dev) is making strides as a Vite-native alternative to Jest. Vite is behind [Cypress](https://docs.cypress.io/guides/component-testing/writing-your-first-component-test) and [Playwright](https://playwright.dev/docs/test-components)'s new Component Testing features, Storybook has [Vite as an official builder](https://github.com/storybookjs/builder-vite). And [the list goes on](https://patak.dev/vite/ecosystem.html). Maintainers from most of these projects got involved in improving the Vite core itself, working closely with the Vite [team](https://vite.dev/team) and other contributors. -![Vite 3 Announcement Cover Image](/og-image-announcing-vite3.png) +![Vite 3 Announcement Cover Image](/og-image-announcing-vite3.webp) Today, 16 months from the v2 launch we are happy to announce the release of Vite 3. We decided to release a new Vite major at least every year to align with [Node.js's EOL](https://nodejs.org/en/about/releases/), and take the opportunity to review Vite's API regularly with a short migration path for projects in the ecosystem. @@ -47,7 +47,7 @@ If you are new to Vite, we recommend reading the [Why Vite Guide](https://vite.d Go to [vite.dev](https://vite.dev) to enjoy the new v3 docs. Vite is now using the new [VitePress](https://vitepress.vuejs.org) default theme, with a stunning dark mode between other features. -[![Vite documentation frontpage](../images/v3-docs.png)](https://vite.dev) +[![Vite documentation frontpage](../images/v3-docs.webp)](https://vite.dev) Several projects in the ecosystem have already migrated to it (see [Vitest](https://vitest.dev), [vite-plugin-pwa](https://vite-plugin-pwa.netlify.app/), and [VitePress](https://vitepress.vuejs.org/) itself). @@ -223,9 +223,9 @@ In part, this reduction was possible by making some dependencies that most users A triaging marathon was spearheaded by [@bluwyoo](https://twitter.com/bluwyoo), [@sapphi_red](https://twitter.com/sapphi_red), that recently joined the Vite team. During the past three months, the Vite open issues were reduced from 770 to 400. And this dive was achieved while the newly open PRs were at an all-time high. At the same time, [@haoqunjiang](https://twitter.com/haoqunjiang) had also curated a comprehensive [overview of Vite issues](https://github.com/vitejs/vite/discussions/8232). -[![Graph of open issues and pull requests in Vite](../images/v3-open-issues-and-PRs.png)](https://www.repotrends.com/vitejs/vite) +[![Graph of open issues and pull requests in Vite](../images/v3-open-issues-and-PRs.webp)](https://www.repotrends.com/vitejs/vite) -[![Graph of new issues and pull requests in Vite](../images/v3-new-open-issues-and-PRs.png)](https://www.repotrends.com/vitejs/vite) +[![Graph of new issues and pull requests in Vite](../images/v3-new-open-issues-and-PRs.webp)](https://www.repotrends.com/vitejs/vite) ## Compatibility Notes diff --git a/blog/announcing-vite4-3.md b/blog/announcing-vite4-3.md index b725308b..bc61f0b6 100644 --- a/blog/announcing-vite4-3.md +++ b/blog/announcing-vite4-3.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 4.3 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite4-3.png + content: https://vite.dev/og-image-announcing-vite4-3.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite4-3 @@ -29,7 +29,7 @@ head: _April 20, 2023_ -![Vite 4.3 Announcement Cover Image](/og-image-announcing-vite4-3.png) +![Vite 4.3 Announcement Cover Image](/og-image-announcing-vite4-3.webp) Quick links: @@ -60,9 +60,9 @@ These are the performance improvements as measured by [sapphi-red/performance-co | **Root HMR** | 30.5ms | 24.0ms | -21.3% | | **Leaf HMR** | 16.9ms | 10.0ms | -40.8% | -![Vite 4.3 vs 4.2 startup time comparison](/vite4-3-startup-time.png) +![Vite 4.3 vs 4.2 startup time comparison](../images/vite4-3-startup-time.webp) -![Vite 4.3 vs 4.2 HMR time comparison](/vite4-3-hmr-time.png) +![Vite 4.3 vs 4.2 HMR time comparison](../images/vite4-3-hmr-time.webp) You can read more information about the benchmark [here](https://gist.github.com/sapphi-red/25be97327ee64a3c1dce793444afdf6e). Specs and Versions for this performance run: diff --git a/blog/announcing-vite4.md b/blog/announcing-vite4.md index 9f574f54..85cb56e6 100644 --- a/blog/announcing-vite4.md +++ b/blog/announcing-vite4.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 4 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite4.png + content: https://vite.dev/og-image-announcing-vite4.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite4 @@ -31,13 +31,13 @@ _December 9, 2022_ - Check out the [Vite 5.0 announcement](./announcing-vite5.md Vite 3 [was released](./announcing-vite3.md) five months ago. npm downloads per week have gone from 1 million to 2.5 million since then. The ecosystem has matured too, and continues to grow. In this year's [Jamstack Conf survey](https://twitter.com/vite_js/status/1589665610119585793), usage among the community jumped from 14% to 32% while keeping a high 9.7 satisfaction score. We saw the stable releases of [Astro 1.0](https://astro.build/), [Nuxt 3](https://v3.nuxtjs.org/), and other Vite-powered frameworks that are innovating and collaborating: [SvelteKit](https://kit.svelte.dev/), [Solid Start](https://www.solidjs.com/blog/introducing-solidstart), [Qwik City](https://qwik.builder.io/qwikcity/overview/). Storybook announced first-class support for Vite as one of its main features for [Storybook 7.0](https://storybook.js.org/blog/first-class-vite-support-in-storybook/). Deno now [supports Vite](https://www.youtube.com/watch?v=Zjojo9wdvmY). [Vitest](https://vitest.dev) adoption is exploding, it will soon represent half of Vite's npm downloads. Nx is also investing in the ecosystem, and [officially supports Vite](https://nx.dev/packages/vite). -[![Vite 4 Ecosystem](/ecosystem-vite4.png)](https://viteconf.org/2022/replay) +[![Vite 4 Ecosystem](../images/ecosystem-vite4.webp)](https://viteconf.org/2022/replay) As a showcase of the growth Vite and related projects have experienced, the Vite ecosystem gathered on October 11th at [ViteConf 2022](https://viteconf.org/2022/replay). We saw representatives from the main web framework and tools tell stories of innovation and collaboration. And in a symbolic move, the Rollup team choose that exact day to release [Rollup 3](https://cn.rollupjs.org). Today, the Vite [team](https://vite.dev/team) with the help of our ecosystem partners, is happy to announce the release of Vite 4, powered during build time by Rollup 3. We've worked with the ecosystem to ensure a smooth upgrade path for this new major. Vite is now using [Rollup 3](https://github.com/vitejs/vite/issues/9870), which allowed us to simplify Vite's internal asset handling and has many improvements. See the [Rollup 3 release notes here](https://github.com/rollup/rollup/releases/tag/v3.0.0). -![Vite 4 Announcement Cover Image](/og-image-announcing-vite4.png) +![Vite 4 Announcement Cover Image](/og-image-announcing-vite4.webp) Quick links: diff --git a/blog/announcing-vite5-1.md b/blog/announcing-vite5-1.md index bbb24a8e..45651fe2 100644 --- a/blog/announcing-vite5-1.md +++ b/blog/announcing-vite5-1.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 5.1 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite5-1.png + content: https://vite.dev/og-image-announcing-vite5-1.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite5-1 @@ -29,7 +29,7 @@ head: _February 8, 2024_ -![Vite 5.1 Announcement Cover Image](/og-image-announcing-vite5-1.png) +![Vite 5.1 Announcement Cover Image](/og-image-announcing-vite5-1.webp) Vite 5 [was released](./announcing-vite5.md) last November, and it represented another big leap for Vite and the ecosystem. A few weeks ago we celebrated 10 million weekly npm downloads and 900 contributors to the Vite repo. Today, we're excited to announce the release of Vite 5.1. @@ -86,7 +86,7 @@ The preview server now exposes a `close` method, which will properly teardown th Vite keeps getting faster with each release, and Vite 5.1 is packed with performance improvements. We measured the loading time for 10K modules (25 level deep tree) using [vite-dev-server-perf](https://github.com/yyx990803/vite-dev-server-perf) for all minor versions from Vite 4.0. This is a good benchmark to measure the effect of Vite's bundle-less approach. Each module is a small TypeScript file with a counter and imports to other files in the tree, so this mostly measuring the time it takes to do the requests a separate modules. In Vite 4.0, loading 10K modules took 8 seconds on a M1 MAX. We had a breakthrough in [Vite 4.3 were we focused on performance](./announcing-vite4-3.md), and we were able to load them in 6.35 seconds. In Vite 5.1, we managed to do another performance leap. Vite is now serving the 10K modules in 5.35 seconds. -![Vite 10K Modules Loading time progression](/vite5-1-10K-modules-loading-time.png) +![Vite 10K Modules Loading time progression](../images/vite5-1-10K-modules-loading-time.webp) The results of this benchmark run on Headless Puppeteer and are a good way to compare versions. They don't represent the time as experienced by users though. When running the same 10K modules in an Incognito window is Chrome, we have: diff --git a/blog/announcing-vite5.md b/blog/announcing-vite5.md index e15ead42..ac9c481b 100644 --- a/blog/announcing-vite5.md +++ b/blog/announcing-vite5.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 5 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite5.png + content: https://vite.dev/og-image-announcing-vite5.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite5 @@ -29,7 +29,7 @@ head: _2023年11月16日_ -![Vite 5公告封面图片](/og-image-announcing-vite5.png) +![Vite 5公告封面图片](/og-image-announcing-vite5.webp) Vite 4 发布了将近一年,它为生态系统奠定了坚实的基础。每周的 npm 下载量从250万增加到了750万,因为项目不断在共享基础设施上构建。各种框架不断创新,除了 [Astro](https://astro.build/)、[Nuxt](https://nuxt.com/)、[SvelteKit](https://kit.svelte.dev/)、[Solid Start](https://www.solidjs.com/blog/introducing-solidstart)、[Qwik City](https://qwik.builder.io/qwikcity/overview/) 等等之外,我们看到新的框架加入并使生态系统变得更加强大。[RedwoodJS](https://redwoodjs.com/) 和 [Remix](https://remix.run/) 转向 Vite 为 React 生态系统的进一步采用铺平了道路。[Vitest](https://vitest.dev) 的增长速度甚至比 Vite 还要快。其团队一直在努力工作,并将很快 [发布 Vitest 1.0](https://github.com/vitest-dev/vitest/issues/3596)。当与其他工具一起使用时,如 [Storybook](https://storybook.js.org)、[Nx](https://nx.dev) 和 [Playwright](https://playwright.dev),Vite 的故事不断改善,环境也是如此,Vite 的开发在 [Deno](https://deno.com) 和 [Bun](https://bun.sh) 中都可以工作。 diff --git a/blog/announcing-vite6.md b/blog/announcing-vite6.md index 5cbc5a70..b4c46ba1 100644 --- a/blog/announcing-vite6.md +++ b/blog/announcing-vite6.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 6 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite6.png + content: https://vite.dev/og-image-announcing-vite6.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite6 @@ -29,7 +29,7 @@ head: _2024年11月26日_ -![Vite 6 Announcement Cover Image](/og-image-announcing-vite6.png) +![Vite 6 Announcement Cover Image](/og-image-announcing-vite6.webp) 今天,Vite 迎来了发展历程中的重要里程碑。我们很高兴地宣布,Vite 6 正式发布了!这一重大版本的发布离不开 Vite [团队](/team)、[贡献者](https://github.com/vitejs/vite/graphs/contributors) 以及整个生态系统合作伙伴的共同努力。 @@ -39,7 +39,7 @@ Vite 生态系统也迎来了一批新成员,包括 [TanStack Start](https://t Vite 已被 OpenAI、Google、Apple、Microsoft、NASA、Shopify、Cloudflare、GitLab、Reddit 和 Linear 等众多知名公司采用。两个月前,我们创建了一份 [使用 Vite 的公司列表](https://github.com/vitejs/companies-using-vite)。令人欣喜的是,许多开发者提交 PR 将他们的公司添加到列表中。回首 Vite 诞生至今,我们共同打造的生态系统增长速度之快,实在令人难以置信。 -![Vite weekly npm downloads](/vite6-npm-weekly-downloads.png) +![Vite weekly npm downloads](../images/vite6-npm-weekly-downloads.webp) ### 加速 Vite 生态系统 {#speeding-up-the-vite-ecosystem} diff --git a/blog/announcing-vite7.md b/blog/announcing-vite7.md index f9f77168..10bb12f7 100644 --- a/blog/announcing-vite7.md +++ b/blog/announcing-vite7.md @@ -13,7 +13,7 @@ head: content: Announcing Vite 7 - - meta - property: og:image - content: https://vite.dev/og-image-announcing-vite7.png + content: https://vite.dev/og-image-announcing-vite7.webp - - meta - property: og:url content: https://vite.dev/blog/announcing-vite7 @@ -29,7 +29,7 @@ head: _2025年6月24日_ -![Vite 7 Announcement Cover Image](/og-image-announcing-vite7.png) +![Vite 7 Announcement Cover Image](/og-image-announcing-vite7.webp) 我们很高兴与大家分享 Vite 7 的发布!从 Evan You 向 Vite 仓库提交第一次 commit 至今已经过去 5 年了,当时没有人能预料到前端生态会发生如此巨大的变化。如今,大多数现代前端框架和工具正在协同工作,构建在 Vite 共享的基础设施之上。通过更高层次的共享,它们能够以更快的速度进行创新。Vite 现在每周被下载 3100 万次,在上次重大版本发布后的七个月内增长了 1400 万次下载量。 diff --git a/guide/api-plugin.md b/guide/api-plugin.md index 05bc471a..ba5aa7ab 100644 --- a/guide/api-plugin.md +++ b/guide/api-plugin.md @@ -12,7 +12,7 @@ Vite 努力秉承开箱即用的原则,因此在创作一款新插件前,请 ::: tip 在学习、调试或创作插件时,我们建议在你的项目中引入 [vite-plugin-inspect](https://github.com/antfu/vite-plugin-inspect)。 它可以帮助你检查 Vite 插件的中间状态。安装后,你可以访问 `localhost:5173/__inspect/` 来检查你项目的模块和栈信息。请查阅 [vite-plugin-inspect 文档](https://github.com/antfu/vite-plugin-inspect) 中的安装说明。 -![vite-plugin-inspect](../images/vite-plugin-inspect.png) +![vite-plugin-inspect](../images/vite-plugin-inspect.webp) ::: ## 约定 {#conventions} diff --git a/guide/index.md b/guide/index.md index 3176a29b..f27f787f 100644 --- a/guide/index.md +++ b/guide/index.md @@ -6,7 +6,7 @@ ## 总览 {#overview} -Vite(法语意为 "快速的",发音 `/vit/`,发音同 "veet")是一种新型前端构建工具,能够显著提升前端开发体验。它主要由两部分组成: +Vite(法语意为 "快速的",发音 `/vit/`,发音同 "veet")是一种新型前端构建工具,能够显著提升前端开发体验。它主要由两部分组成: - 一个开发服务器,它基于 [原生 ES 模块](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) 提供了 [丰富的内建功能](./features),如速度快到惊人的 [模块热替换(HMR)](./features#hot-module-replacement)。 diff --git a/images/community/placeholder.jpg b/images/community/placeholder.jpg deleted file mode 100644 index 5bd0f69a..00000000 Binary files a/images/community/placeholder.jpg and /dev/null differ diff --git a/images/community/placeholder.webp b/images/community/placeholder.webp new file mode 100644 index 00000000..d448a0d1 Binary files /dev/null and b/images/community/placeholder.webp differ diff --git a/images/ecosystem-vite4.webp b/images/ecosystem-vite4.webp new file mode 100644 index 00000000..02624e90 Binary files /dev/null and b/images/ecosystem-vite4.webp differ diff --git a/images/v3-docs.png b/images/v3-docs.png deleted file mode 100644 index 11989371..00000000 Binary files a/images/v3-docs.png and /dev/null differ diff --git a/images/v3-docs.webp b/images/v3-docs.webp new file mode 100644 index 00000000..c386a2b6 Binary files /dev/null and b/images/v3-docs.webp differ diff --git a/images/v3-new-open-issues-and-PRs.png b/images/v3-new-open-issues-and-PRs.png deleted file mode 100644 index 48fd1dea..00000000 Binary files a/images/v3-new-open-issues-and-PRs.png and /dev/null differ diff --git a/images/v3-new-open-issues-and-PRs.webp b/images/v3-new-open-issues-and-PRs.webp new file mode 100644 index 00000000..9e189123 Binary files /dev/null and b/images/v3-new-open-issues-and-PRs.webp differ diff --git a/images/v3-open-issues-and-PRs.png b/images/v3-open-issues-and-PRs.png deleted file mode 100644 index fa53ba8a..00000000 Binary files a/images/v3-open-issues-and-PRs.png and /dev/null differ diff --git a/images/v3-open-issues-and-PRs.webp b/images/v3-open-issues-and-PRs.webp new file mode 100644 index 00000000..2cb6f44b Binary files /dev/null and b/images/v3-open-issues-and-PRs.webp differ diff --git a/images/vercel-configuration.png b/images/vercel-configuration.png deleted file mode 100644 index e9fe9e78..00000000 Binary files a/images/vercel-configuration.png and /dev/null differ diff --git a/images/vite-plugin-inspect.png b/images/vite-plugin-inspect.png deleted file mode 100644 index 0a8b2723..00000000 Binary files a/images/vite-plugin-inspect.png and /dev/null differ diff --git a/images/vite-plugin-inspect.webp b/images/vite-plugin-inspect.webp new file mode 100644 index 00000000..dbb0460a Binary files /dev/null and b/images/vite-plugin-inspect.webp differ diff --git a/images/vite4-3-hmr-time.webp b/images/vite4-3-hmr-time.webp new file mode 100644 index 00000000..b561023b Binary files /dev/null and b/images/vite4-3-hmr-time.webp differ diff --git a/images/vite4-3-startup-time.webp b/images/vite4-3-startup-time.webp new file mode 100644 index 00000000..37837c99 Binary files /dev/null and b/images/vite4-3-startup-time.webp differ diff --git a/images/vite5-1-10K-modules-loading-time.webp b/images/vite5-1-10K-modules-loading-time.webp new file mode 100644 index 00000000..5dc6f54c Binary files /dev/null and b/images/vite5-1-10K-modules-loading-time.webp differ diff --git a/images/vite6-npm-weekly-downloads.webp b/images/vite6-npm-weekly-downloads.webp new file mode 100644 index 00000000..2112a3e8 Binary files /dev/null and b/images/vite6-npm-weekly-downloads.webp differ diff --git a/public/viteconf.svg b/images/viteconf.svg similarity index 100% rename from public/viteconf.svg rename to images/viteconf.svg diff --git a/public/voice.svg b/images/voice.svg similarity index 100% rename from public/voice.svg rename to images/voice.svg diff --git a/public/_headers b/public/_headers new file mode 100644 index 00000000..5eb5518d --- /dev/null +++ b/public/_headers @@ -0,0 +1,15 @@ +/assets/* + cache-control: max-age=31536000 + cache-control: immutable + +/*.svg + cache-control: max-age=604800 + cache-control: immutable + +/*.png + cache-control: max-age=604800 + cache-control: immutable + +/*.webp + cache-control: max-age=604800 + cache-control: immutable diff --git a/public/ecosystem-vite4.png b/public/ecosystem-vite4.png deleted file mode 100644 index b0370c04..00000000 Binary files a/public/ecosystem-vite4.png and /dev/null differ diff --git a/public/logo-home.svg b/public/logo-home.svg deleted file mode 100644 index 0942f44d..00000000 --- a/public/logo-home.svg +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/public/logo-uwu.png b/public/logo-uwu.png deleted file mode 100644 index e45e40af..00000000 Binary files a/public/logo-uwu.png and /dev/null differ diff --git a/public/logo-uwu.webp b/public/logo-uwu.webp new file mode 100644 index 00000000..a413d6cb Binary files /dev/null and b/public/logo-uwu.webp differ diff --git a/public/logo-with-shadow.png b/public/logo-with-shadow.png deleted file mode 100644 index 8b23c919..00000000 Binary files a/public/logo-with-shadow.png and /dev/null differ diff --git a/public/logo-with-shadow.webp b/public/logo-with-shadow.webp new file mode 100644 index 00000000..965e1171 Binary files /dev/null and b/public/logo-with-shadow.webp differ diff --git a/public/noise.png b/public/noise.png deleted file mode 100644 index fd9a7cf2..00000000 Binary files a/public/noise.png and /dev/null differ diff --git a/public/og-image-announcing-vite3.png b/public/og-image-announcing-vite3.png deleted file mode 100644 index 859f1bcd..00000000 Binary files a/public/og-image-announcing-vite3.png and /dev/null differ diff --git a/public/og-image-announcing-vite3.webp b/public/og-image-announcing-vite3.webp new file mode 100644 index 00000000..4e293c15 Binary files /dev/null and b/public/og-image-announcing-vite3.webp differ diff --git a/public/og-image-announcing-vite4-3.png b/public/og-image-announcing-vite4-3.png deleted file mode 100644 index 6c297055..00000000 Binary files a/public/og-image-announcing-vite4-3.png and /dev/null differ diff --git a/public/og-image-announcing-vite4-3.webp b/public/og-image-announcing-vite4-3.webp new file mode 100644 index 00000000..e770059f Binary files /dev/null and b/public/og-image-announcing-vite4-3.webp differ diff --git a/public/og-image-announcing-vite4.png b/public/og-image-announcing-vite4.png deleted file mode 100644 index 7f8b71f4..00000000 Binary files a/public/og-image-announcing-vite4.png and /dev/null differ diff --git a/public/og-image-announcing-vite4.webp b/public/og-image-announcing-vite4.webp new file mode 100644 index 00000000..d6e86f20 Binary files /dev/null and b/public/og-image-announcing-vite4.webp differ diff --git a/public/og-image-announcing-vite5-1.png b/public/og-image-announcing-vite5-1.png deleted file mode 100644 index cebfc993..00000000 Binary files a/public/og-image-announcing-vite5-1.png and /dev/null differ diff --git a/public/og-image-announcing-vite5-1.webp b/public/og-image-announcing-vite5-1.webp new file mode 100644 index 00000000..c5e7d663 Binary files /dev/null and b/public/og-image-announcing-vite5-1.webp differ diff --git a/public/og-image-announcing-vite5.png b/public/og-image-announcing-vite5.png deleted file mode 100644 index 56040e51..00000000 Binary files a/public/og-image-announcing-vite5.png and /dev/null differ diff --git a/public/og-image-announcing-vite5.webp b/public/og-image-announcing-vite5.webp new file mode 100644 index 00000000..1a1f6d74 Binary files /dev/null and b/public/og-image-announcing-vite5.webp differ diff --git a/public/og-image-announcing-vite6.png b/public/og-image-announcing-vite6.png deleted file mode 100644 index e75d43c1..00000000 Binary files a/public/og-image-announcing-vite6.png and /dev/null differ diff --git a/public/og-image-announcing-vite6.webp b/public/og-image-announcing-vite6.webp new file mode 100644 index 00000000..88542425 Binary files /dev/null and b/public/og-image-announcing-vite6.webp differ diff --git a/public/og-image-announcing-vite7.png b/public/og-image-announcing-vite7.png deleted file mode 100644 index ffac155b..00000000 Binary files a/public/og-image-announcing-vite7.png and /dev/null differ diff --git a/public/og-image-announcing-vite7.webp b/public/og-image-announcing-vite7.webp new file mode 100644 index 00000000..7f442a79 Binary files /dev/null and b/public/og-image-announcing-vite7.webp differ diff --git a/public/vite4-3-hmr-time.png b/public/vite4-3-hmr-time.png deleted file mode 100644 index bc9bc434..00000000 Binary files a/public/vite4-3-hmr-time.png and /dev/null differ diff --git a/public/vite4-3-startup-time.png b/public/vite4-3-startup-time.png deleted file mode 100644 index a0269699..00000000 Binary files a/public/vite4-3-startup-time.png and /dev/null differ diff --git a/public/vite5-1-10K-modules-loading-time.png b/public/vite5-1-10K-modules-loading-time.png deleted file mode 100644 index 8c94ed9b..00000000 Binary files a/public/vite5-1-10K-modules-loading-time.png and /dev/null differ diff --git a/public/vite6-npm-weekly-downloads.png b/public/vite6-npm-weekly-downloads.png deleted file mode 100644 index 99d229b4..00000000 Binary files a/public/vite6-npm-weekly-downloads.png and /dev/null differ