diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index f0157565dd9cab..66237eade43d64 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -1,5 +1,4 @@ import path from 'node:path' -import fs from 'node:fs' import type { HeadConfig } from 'vitepress' import { defineConfig } from 'vitepress' import { transformerTwoslash } from '@shikijs/vitepress-twoslash' @@ -75,17 +74,6 @@ const versionLinks = (() => { return links })() -function inlineScript(file: string): HeadConfig { - return [ - 'script', - {}, - fs.readFileSync( - path.resolve(import.meta.dirname, `./inlined-scripts/${file}`), - 'utf-8', - ), - ] -} - const config = defineConfig({ title: `Vite${additionalTitle}`, description: 'Next Generation Frontend Tooling', @@ -103,7 +91,6 @@ const config = defineConfig({ { rel: 'alternate', type: 'application/rss+xml', href: '/blog.rss' }, ], ['link', { rel: 'preconnect', href: 'https://fonts.googleapis.com' }], - inlineScript('banner.js'), ['link', { rel: 'me', href: 'https://m.webtoo.ls/@vite' }], ['meta', { property: 'og:type', content: 'website' }], ['meta', { property: 'og:title', content: ogTitle }], @@ -138,12 +125,10 @@ const config = defineConfig({ themeConfig: { variant: 'vite', - logo: '/logo.svg', - banner: { - id: 'viteplus-alpha', - text: 'Announcing Vite+ Alpha: Open source. Unified. Next-gen.', - url: 'https://voidzero.dev/posts/announcing-vite-plus-alpha?utm_source=vite&utm_content=top_banner', + id: 'cloudflare-supports-vite', + text: `Cloudflare supports Vite's mission`, + url: '/blog/cloudflare-supports-vite', }, editLink: { @@ -574,6 +559,14 @@ const config = defineConfig({ }, }, vite: { + resolve: { + alias: { + '@components/oss/TopBanner.vue': path.resolve( + import.meta.dirname, + 'theme/components/TopBanner.vue', + ), + }, + }, plugins: [ groupIconVitePlugin({ customIcon: { diff --git a/docs/.vitepress/theme/components/TopBanner.vue b/docs/.vitepress/theme/components/TopBanner.vue new file mode 100644 index 00000000000000..c16eb7cb584153 --- /dev/null +++ b/docs/.vitepress/theme/components/TopBanner.vue @@ -0,0 +1,186 @@ + + + + + diff --git a/docs/blog/cloudflare-supports-vite.md b/docs/blog/cloudflare-supports-vite.md new file mode 100644 index 00000000000000..bf6a4c726fdf74 --- /dev/null +++ b/docs/blog/cloudflare-supports-vite.md @@ -0,0 +1,61 @@ +--- +title: Cloudflare supports Vite's mission +author: + name: The Vite Team +date: 2026-06-04 +sidebar: false +head: + - - meta + - property: og:type + content: website + - - meta + - property: og:title + content: Cloudflare supports Vite's mission + - - meta + - property: og:image + content: https://vite.dev/og-image-cloudflare-supports-vite.webp + - - meta + - property: og:url + content: https://vite.dev/blog/cloudflare-supports-vite + - - meta + - property: og:description + content: The VoidZero team is joining Cloudflare. Vite remains MIT, vendor-neutral and stewarded by the same wider team. + - - meta + - name: twitter:card + content: summary_large_image +--- + +# Cloudflare supports Vite's mission + +_June 4, 2026_ + +![Cloudflare Supports Vite's Mission Cover Image](/og-image-cloudflare-supports-vite.webp) + +Today marks the start of a new stage for Vite. VoidZero is joining Cloudflare. You can read the full story from Evan You in [VoidZero's announcement](https://voidzero.dev/posts/voidzero-cloudflare). In [Cloudflare's blog post](https://blog.cloudflare.com/voidzero-joins-cloudflare/), they explain why they are investing in the Vite stack, which has now become part of the web's foundational infrastructure. Vite's team governance, mission, and philosophy aren't changing: + +- Vite remains open source under the MIT license. +- Vite remains vendor-agnostic, applications built with vite are meant to run anywhere. +- Vite continues to be stewarded by the [Vite team](/team), which includes members employed by different organizations and independent members. +- [Vite's Open Collective](https://opencollective.com/vite) funds are managed by the Vite team and are used to fund independent core team members, dependencies, and other key projects in the ecosystem. +- The Vite team members employed by VoidZero are all joining Cloudflare and will continue to work on Vite. + +As stated in the VoidZero and Cloudflare announcements, the same applies to [Vitest](https://vitest.dev/team.html), [Rolldown](https://rolldown.rs/team), [Oxc](https://oxc.rs/team.html), and [Vite+](https://viteplus.dev/team). + +## Cloudflare's Vite Ecosystem Open Source Fund + +Cloudflare is committed to helping Vite remain neutral and has also announced a new $1M open source fund for the Vite ecosystem. Alongside Vite's Open Collective (which stays managed by the Vite team), these funds will allow us to further improve Vite and its ecosystem, including: + +- Fund more popular plugins and toolings in the ecosystem. +- Adopt a core team member stipend to support independent team members. +- Work closely with teams of the Vite stack, including Rolldown, Oxc, and Vite+. +- Work closely with the ecosystem maintainers from frameworks, plugins, and deployment platforms. +- Work with standard bodies and adopt new web platform features faster. +- Audit and release security issues more quickly. + +Many of which we had already started working on, which will help accelerate the process. + +## Thank You + +We want to thank our current sponsors through [GitHub Sponsors](https://github.com/sponsors/vitejs) and [Open Collective](https://opencollective.com/vite), which remain invaluable to us. We'd also like to thank the teams from projects, ecosystem frameworks, and plugins whose collaboration helped Vite reach where it is today. And also to [the 1250+ contributors](https://github.com/vitejs/vite/graphs/contributors) to the Vite repo and the users who keep providing valuable feedback to improve Vite. + +We talked about what's next in [Vite 8's announcement](/blog/announcing-vite8#looking-ahead). We have made good progress towards Full Bundle Mode and the new Ecosystem Sync Calls, that gathers members of different frameworks, deploy platforms, and plugins, have become a great motor for new ideas to further expand Vite's capabilities. We think we're on a good trajectory to stabilize Vite's Environment API on Vite 9. As Vite's story continues to unfold, we look forward to the long path ahead to keep building the web together. diff --git a/docs/public/og-image-cloudflare-supports-vite.webp b/docs/public/og-image-cloudflare-supports-vite.webp new file mode 100644 index 00000000000000..8b25504eb07e3a Binary files /dev/null and b/docs/public/og-image-cloudflare-supports-vite.webp differ