From 33bae79103544ee78dcf6964c664b7f787ff7ef7 Mon Sep 17 00:00:00 2001 From: Hemant <30663182+hemant-dev-8@users.noreply.github.com> Date: Fri, 12 Dec 2025 07:14:18 +0530 Subject: [PATCH 1/6] docs: fix grammar in Vite 4 announcement blog post (#21261) --- blog/announcing-vite4.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blog/announcing-vite4.md b/blog/announcing-vite4.md index b14b6333..e1286a6c 100644 --- a/blog/announcing-vite4.md +++ b/blog/announcing-vite4.md @@ -51,7 +51,7 @@ Docs in other languages: - [日本語](https://ja.vite.dev/) - [Español](https://es.vite.dev/) -If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or join collaborate with others on our [Discord community](http://chat.vite.dev/). +If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or collaborate with others on our [Discord community](http://chat.vite.dev/). ## Start playing with Vite 4 From 24c24dd49ae1a2d0ee7c20ed588ad124f9b53fb9 Mon Sep 17 00:00:00 2001 From: Bjorn Lu Date: Fri, 12 Dec 2025 10:09:35 +0800 Subject: [PATCH 2/6] docs: ensure https links (#21266) --- blog/announcing-vite2.md | 2 +- blog/announcing-vite3.md | 2 +- blog/announcing-vite4.md | 2 +- blog/announcing-vite5.md | 2 +- blog/announcing-vite6.md | 2 +- blog/announcing-vite7.md | 2 +- guide/features.md | 2 +- guide/static-deploy.md | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/blog/announcing-vite2.md b/blog/announcing-vite2.md index 47ee96d5..f10f1a6e 100644 --- a/blog/announcing-vite2.md +++ b/blog/announcing-vite2.md @@ -81,4 +81,4 @@ That was a lot of features, but getting started with Vite is simple! You can spi npm init @vitejs/app ``` -Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/). +Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](https://chat.vite.dev). diff --git a/blog/announcing-vite3.md b/blog/announcing-vite3.md index d8ea30c1..c10855eb 100644 --- a/blog/announcing-vite3.md +++ b/blog/announcing-vite3.md @@ -41,7 +41,7 @@ Quick links: - [Migration Guide](https://v3.vite.dev/guide/migration.html) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md#300-2022-07-13) -If you are new to Vite, we recommend reading the [Why Vite Guide](https://vite.dev/guide/why.html). Then check out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features) to see what Vite provides out of the box. As usual, contributions are welcome at [GitHub](https://github.com/vitejs/vite). More than [600 collaborators](https://github.com/vitejs/vite/graphs/contributors) have helped improve Vite so far. Follow the updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](http://chat.vite.dev/). +If you are new to Vite, we recommend reading the [Why Vite Guide](https://vite.dev/guide/why.html). Then check out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features) to see what Vite provides out of the box. As usual, contributions are welcome at [GitHub](https://github.com/vitejs/vite). More than [600 collaborators](https://github.com/vitejs/vite/graphs/contributors) have helped improve Vite so far. Follow the updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](https://chat.vite.dev). ## New Documentation diff --git a/blog/announcing-vite4.md b/blog/announcing-vite4.md index e1286a6c..dc1f428f 100644 --- a/blog/announcing-vite4.md +++ b/blog/announcing-vite4.md @@ -51,7 +51,7 @@ Docs in other languages: - [日本語](https://ja.vite.dev/) - [Español](https://es.vite.dev/) -If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or collaborate with others on our [Discord community](http://chat.vite.dev/). +If you recently started using Vite, we suggest reading the [Why Vite Guide](https://vite.dev/guide/why.html) and checking out [the Getting Started](https://vite.dev/guide/) and [Features guide](https://vite.dev/guide/features). If you want to get involved, contributions are welcome at [GitHub](https://github.com/vitejs/vite). Almost [700 collaborators](https://github.com/vitejs/vite/graphs/contributors) have contributed to Vite. Follow the updates on [Twitter](https://twitter.com/vite_js) and [Mastodon](https://webtoo.ls/@vite), or collaborate with others on our [Discord community](https://chat.vite.dev). ## Start playing with Vite 4 diff --git a/blog/announcing-vite5.md b/blog/announcing-vite5.md index 498996ad..125256be 100644 --- a/blog/announcing-vite5.md +++ b/blog/announcing-vite5.md @@ -58,7 +58,7 @@ Docs in other languages: If you're new to Vite, we suggest reading first the [Getting Started](/guide/) and [Features](/guide/features) guides. -We appreciate the more than [850 contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors), and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us reach here. We encourage you to get involved and continue to improve Vite with us. You can learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). To get started, we recommend [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending failing tests PRs based on open issues, and helping others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). You'll learn a lot along the way and have a smooth path to further contributions to the project. If you have doubts, join us on our [Discord community](http://chat.vite.dev/) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). +We appreciate the more than [850 contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors), and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us reach here. We encourage you to get involved and continue to improve Vite with us. You can learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). To get started, we recommend [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending failing tests PRs based on open issues, and helping others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). You'll learn a lot along the way and have a smooth path to further contributions to the project. If you have doubts, join us on our [Discord community](https://chat.vite.dev) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). To stay up to date, follow us on [X](https://twitter.com/vite_js) or [Mastodon](https://webtoo.ls/@vite). diff --git a/blog/announcing-vite6.md b/blog/announcing-vite6.md index a4fc660c..9557d8d0 100644 --- a/blog/announcing-vite6.md +++ b/blog/announcing-vite6.md @@ -66,7 +66,7 @@ If you're new to Vite, we suggest reading the [Getting Started](/guide/) and [Fe We want to thank the more than [1K contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors) and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us craft this new major. We invite you to get involved and help us improve Vite for the whole ecosystem. Learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). -To get started, we suggest helping [triage issues](https://github.com/vitejs/vite/issues), [review PRs](https://github.com/vitejs/vite/pulls), send failing tests PRs based on open issues, and support others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you'd like to talk to us, join our [Discord community](http://chat.vite.dev/) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). +To get started, we suggest helping [triage issues](https://github.com/vitejs/vite/issues), [review PRs](https://github.com/vitejs/vite/pulls), send failing tests PRs based on open issues, and support others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you'd like to talk to us, join our [Discord community](https://chat.vite.dev) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). For the latest news about the Vite ecosystem and Vite core, follow us on [Bluesky](https://bsky.app/profile/vite.dev), [X](https://twitter.com/vite_js), or [Mastodon](https://webtoo.ls/@vite). diff --git a/blog/announcing-vite7.md b/blog/announcing-vite7.md index b2f7c67a..b75ae996 100644 --- a/blog/announcing-vite7.md +++ b/blog/announcing-vite7.md @@ -49,7 +49,7 @@ Quick links: Play online with Vite 7 using [vite.new](https://vite.new) or scaffold a Vite app locally with your preferred framework running `pnpm create vite`. Check out the [Getting Started Guide](/guide/) for more information. -We invite you to help us improve Vite (joining the more than [1.1K contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors)), our dependencies, or plugins and projects in the ecosystem. Learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). A good way to get started is by [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending tests PRs based on open issues, and supporting others in [Discussions](https://github.com/vitejs/vite/discussions) or Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you have questions, join our [Discord community](http://chat.vite.dev/) and talk to us in the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). +We invite you to help us improve Vite (joining the more than [1.1K contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors)), our dependencies, or plugins and projects in the ecosystem. Learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). A good way to get started is by [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending tests PRs based on open issues, and supporting others in [Discussions](https://github.com/vitejs/vite/discussions) or Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you have questions, join our [Discord community](https://chat.vite.dev) and talk to us in the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). Stay updated and connect with others building on top of Vite by following us on [Bluesky](https://bsky.app/profile/vite.dev), [X](https://twitter.com/vite_js), or [Mastodon](https://webtoo.ls/@vite). diff --git a/guide/features.md b/guide/features.md index a0219318..0d258cff 100644 --- a/guide/features.md +++ b/guide/features.md @@ -12,7 +12,7 @@ import { someMethod } from 'my-dep' The above will throw an error in the browser. Vite will detect such bare module imports in all served source files and perform the following: -1. [Pre-bundle](./dep-pre-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](http://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler. +1. [Pre-bundle](./dep-pre-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](https://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler. 2. Rewrite the imports to valid URLs like `/node_modules/.vite/deps/my-dep.js?v=f3sf2ebd` so that the browser can import them properly. diff --git a/guide/static-deploy.md b/guide/static-deploy.md index eec2c8fa..e5532b9d 100644 --- a/guide/static-deploy.md +++ b/guide/static-deploy.md @@ -250,7 +250,7 @@ You can also add custom domains and handle custom build settings on Pages. Learn 3. Deploy to surge by typing `surge dist`. -You can also deploy to a [custom domain](http://surge.sh/help/adding-a-custom-domain) by adding `surge dist yourdomain.com`. +You can also deploy to a [custom domain](https://surge.sh/help/adding-a-custom-domain) by adding `surge dist yourdomain.com`. ## Azure Static Web Apps From da6efde46d46dc45508a90b4fb3a565966e63a8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BF=A0?= Date: Fri, 12 Dec 2025 11:20:41 +0900 Subject: [PATCH 3/6] feat: update rolldown to 1.0.0-beta.54 (#21267) Co-authored-by: shulaoda <165626830+shulaoda@users.noreply.github.com> --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8413fbee..fe7df502 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "feed": "^5.1.0", "gsap": "^3.14.1", "markdown-it-image-size": "^15.0.1", - "oxc-minify": "^0.101.0", + "oxc-minify": "^0.102.0", "vitepress": "^2.0.0-alpha.15", "vitepress-plugin-group-icons": "^1.6.5", "vitepress-plugin-llms": "^1.9.3", From e09887836a807b2d2561880ffc816228552d6c7f Mon Sep 17 00:00:00 2001 From: melodyc <1062149845@qq.com> Date: Fri, 12 Dec 2025 18:56:16 +0800 Subject: [PATCH 4/6] docs(static-deploy): add EdgeOne pages (#21233) --- guide/static-deploy.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guide/static-deploy.md b/guide/static-deploy.md index e5532b9d..c54f3717 100644 --- a/guide/static-deploy.md +++ b/guide/static-deploy.md @@ -321,3 +321,7 @@ Deploy your static site using [xmit](https://xmit.co) by following this [guide]( Zephyr follows a different approach than other cloud providers. It integrates directly with Vite build process, so every time you build or run the dev server for your application, it will be automatically deployed with Zephyr Cloud. Follow the steps in [the Vite deployment guide](https://docs.zephyr-cloud.io/bundlers/vite) to get started. + +## EdgeOne Pages + +Deploy your static site using [EdgeOne Pages](https://edgeone.ai/products/pages) by following these [instructions](https://pages.edgeone.ai/document/vite). From 82b8a2fbc53f7a02b7eda454228dd7c1e9902492 Mon Sep 17 00:00:00 2001 From: Kylin <1159469891@qq.com> Date: Sat, 13 Dec 2025 12:36:25 +0800 Subject: [PATCH 5/6] dcos: update content --- blog/announcing-vite2.md | 6 +----- blog/announcing-vite5.md | 4 ---- blog/announcing-vite6.md | 6 +----- blog/announcing-vite7.md | 6 ++---- guide/features.md | 6 +----- guide/static-deploy.md | 14 +++----------- package.json | 25 ------------------------- 7 files changed, 8 insertions(+), 59 deletions(-) diff --git a/blog/announcing-vite2.md b/blog/announcing-vite2.md index 1cf69a74..794ce950 100644 --- a/blog/announcing-vite2.md +++ b/blog/announcing-vite2.md @@ -81,8 +81,4 @@ Vite 默认只支持原生支持 ESM 的现代浏览器,但可以通过官方 npm init @vitejs/app ``` -<<<<<<< HEAD -然后,你可以阅读 [指引文档](/guide/) 了解 Vite 提供了哪些开箱即用的功能,也可以在 [GitHub](https://github.com/vitejs/vite) 上查看源码,关注我们的 [Twitter](https://twitter.com/vite_js) 以了解最新的进展,或与其他 Vite 用户在 [Discord](http://chat.vite.dev/) 上一起讨论。 -======= -Then, check out [the guide](https://vite.dev/guide/) to see what Vite provides out of the box. You can also check out the source code on [GitHub](https://github.com/vitejs/vite), follow updates on [Twitter](https://twitter.com/vite_js), or join discussions with other Vite users on our [Discord chat server](https://chat.vite.dev). ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f +然后,你可以阅读 [指引文档](/guide/) 了解 Vite 提供了哪些开箱即用的功能,也可以在 [GitHub](https://github.com/vitejs/vite) 上查看源码,关注我们的 [Twitter](https://twitter.com/vite_js) 以了解最新的进展,或与其他 Vite 用户在 [Discord](https://chat.vite.dev/) 上一起讨论。 diff --git a/blog/announcing-vite5.md b/blog/announcing-vite5.md index 82a8fee8..ac9c481b 100644 --- a/blog/announcing-vite5.md +++ b/blog/announcing-vite5.md @@ -58,11 +58,7 @@ Vite 5 的重点是清理 API(删除已弃用的功能)并简化几个功能 如果你是 Vite 的新用户,我们建议你先阅读 [入门指南](/guide/) 和 [功能](/guide/features) 指南。 -<<<<<<< HEAD 我们感谢超过 [850 位对 Vite Core 作出贡献的贡献者](https://github.com/vitejs/vite/graphs/contributors),以及 Vite 插件、集成、工具和翻译的维护者和贡献者,他们帮助我们达到了这一里程碑。我们鼓励你参与进来,继续与我们一起改进 Vite。你可以在我们的 [贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md) 中了解更多信息。要开始,我们建议你 [处理问题](https://github.com/vitejs/vite/issues),[审查 PR](https://github.com/vitejs/vite/pulls),基于开放的问题发送失败的测试 PR,并在 [讨论](https://github.com/vitejs/vite/discussions) 和 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中帮助其他人。你会在这个过程中学到很多,并顺利地进一步为项目做出贡献。如果你有疑问,请加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 上打个招呼。 -======= -We appreciate the more than [850 contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors), and the maintainers and contributors of Vite plugins, integrations, tools, and translations that have helped us reach here. We encourage you to get involved and continue to improve Vite with us. You can learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). To get started, we recommend [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending failing tests PRs based on open issues, and helping others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). You'll learn a lot along the way and have a smooth path to further contributions to the project. If you have doubts, join us on our [Discord community](https://chat.vite.dev) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f 要保持最新,请关注我们在 [X](https://twitter.com/vite_js) 或 [Mastodon](https://webtoo.ls/@vite) 上的动态。 diff --git a/blog/announcing-vite6.md b/blog/announcing-vite6.md index 69a4cd1b..78ba1c3f 100644 --- a/blog/announcing-vite6.md +++ b/blog/announcing-vite6.md @@ -66,11 +66,7 @@ Vite 6 是自 Vite 2 以来最重要的主要版本发布。我们渴望与生 我们要感谢超过 [1000 位 Vite Core 贡献者](https://github.com/vitejs/vite/graphs/contributors) 以及 Vite 插件、集成、工具和翻译的维护者和贡献者,他们帮助我们打造了这个新的主要版本。我们也邀请你参与进来,帮助我们改进整个生态系统的 Vite。了解更多信息,请参阅我们的 [贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md)。 -<<<<<<< HEAD -如果准备开始的话,我们建议可以帮助 [分类问题](https://github.com/vitejs/vite/issues)、[审查 PR](https://github.com/vitejs/vite/pulls)、根据开放问题发送失败的测试 PR,并在[讨论](https://github.com/vitejs/vite/discussions) 和 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中帮助他人。如果你想与我们交流,请加入我们的 [Discord 社区](http://chat.vite.dev/) 并在 [#贡献频道](https://discord.com/channels/804011606160703521/804439875226173480) 中打个招呼。 -======= -To get started, we suggest helping [triage issues](https://github.com/vitejs/vite/issues), [review PRs](https://github.com/vitejs/vite/pulls), send failing tests PRs based on open issues, and support others in [Discussions](https://github.com/vitejs/vite/discussions) and Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you'd like to talk to us, join our [Discord community](https://chat.vite.dev) and say hi on the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f +如果准备开始的话,我们建议可以帮助 [分类问题](https://github.com/vitejs/vite/issues)、[审查 PR](https://github.com/vitejs/vite/pulls)、根据开放问题发送失败的测试 PR,并在[讨论](https://github.com/vitejs/vite/discussions) 和 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中帮助他人。如果你想与我们交流,请加入我们的 [Discord 社区](https://chat.vite.dev/) 并在 [#贡献频道](https://discord.com/channels/804011606160703521/804439875226173480) 中打个招呼。 有关 Vite 生态系统和 Vite Core 的最新消息,请关注我们的 [Bluesky](https://bsky.app/profile/vite.dev)、[X](https://twitter.com/vite_js) 或 [Mastodon](https://webtoo.ls/@vite)。 diff --git a/blog/announcing-vite7.md b/blog/announcing-vite7.md index 8765c7b7..a836587f 100644 --- a/blog/announcing-vite7.md +++ b/blog/announcing-vite7.md @@ -49,11 +49,9 @@ _2025年6月24日_ 使用 [vite.new](https://vite.new) 在线体验 Vite 7,或者通过运行 `pnpm create vite` 在本地使用你偏好的框架搭建 Vite 项目。更多信息请查看[入门指南](/guide/)。 -<<<<<<< HEAD 我们诚邀你加入我们,帮助我们改进 Vite(加入超过 [1.1K 位 Vite Core 贡献者](https://github.com/vitejs/vite/graphs/contributors))、我们的依赖项、插件以及生态系统中的项目。了解更多信息,请参阅我们的[贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md)。 -======= -We invite you to help us improve Vite (joining the more than [1.1K contributors to Vite Core](https://github.com/vitejs/vite/graphs/contributors)), our dependencies, or plugins and projects in the ecosystem. Learn more at our [Contributing Guide](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md). A good way to get started is by [triaging issues](https://github.com/vitejs/vite/issues), [reviewing PRs](https://github.com/vitejs/vite/pulls), sending tests PRs based on open issues, and supporting others in [Discussions](https://github.com/vitejs/vite/discussions) or Vite Land's [help forum](https://discord.com/channels/804011606160703521/1019670660856942652). If you have questions, join our [Discord community](https://chat.vite.dev) and talk to us in the [#contributing channel](https://discord.com/channels/804011606160703521/804439875226173480). ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f + +一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)、[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。 一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)、[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。 diff --git a/guide/features.md b/guide/features.md index f6064f1e..fda2439f 100644 --- a/guide/features.md +++ b/guide/features.md @@ -12,11 +12,7 @@ import { someMethod } from 'my-dep' 上面的代码会在浏览器中抛出一个错误。Vite 将会检测到所有被加载的源文件中的此类裸模块导入,并执行以下操作: -<<<<<<< HEAD -1. [预构建](./dep-pre-bundling) 它们可以提高页面加载速度,并将 CommonJS / UMD 转换为 ESM 格式。预构建这一步由 [esbuild](http://esbuild.github.io/) 执行,这使得 Vite 的冷启动时间比任何基于 JavaScript 的打包器都要快得多。 -======= -1. [Pre-bundle](./dep-pre-bundling) them to improve page loading speed and convert CommonJS / UMD modules to ESM. The pre-bundling step is performed with [esbuild](https://esbuild.github.io/) and makes Vite's cold start time significantly faster than any JavaScript-based bundler. ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f +1. [预构建](./dep-pre-bundling) 它们可以提高页面加载速度,并将 CommonJS / UMD 转换为 ESM 格式。预构建这一步由 [esbuild](https://esbuild.github.io/) 执行,这使得 Vite 的冷启动时间比任何基于 JavaScript 的打包器都要快得多。 2. 重写导入为合法的 URL,例如 `/node_modules/.vite/deps/my-dep.js?v=f3sf2ebd` 以便浏览器能够正确导入它们。 diff --git a/guide/static-deploy.md b/guide/static-deploy.md index a32a9646..fd34d224 100644 --- a/guide/static-deploy.md +++ b/guide/static-deploy.md @@ -250,11 +250,7 @@ $ npx wrangler pages deploy dist 3. 运行 `surge dist` 命令部署到 surge。 -<<<<<<< HEAD -你也可以通过添加 `surge dist yourdomain.com` 部署到一个 [自定义域名](http://surge.sh/help/adding-a-custom-domain)。 -======= -You can also deploy to a [custom domain](https://surge.sh/help/adding-a-custom-domain) by adding `surge dist yourdomain.com`. ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f +你也可以通过添加 `surge dist yourdomain.com` 部署到一个 [自定义域名](https://surge.sh/help/adding-a-custom-domain)。 ## Azure 的静态网站应用 {#azure-static-web-apps} @@ -325,12 +321,8 @@ You can also deploy to a [custom domain](https://surge.sh/help/adding-a-custom-d Zephyr 与其他云提供商采用不同的方法。它直接与 Vite 构建流程集成,因此每次你构建或运行应用程序的开发服务器时,它都会自动部署到 Zephyr Cloud。 -<<<<<<< HEAD 请按照 [Vite 部署指南](https://docs.zephyr-cloud.io/bundlers/vite) 中的步骤开始使用。 -======= -Follow the steps in [the Vite deployment guide](https://docs.zephyr-cloud.io/bundlers/vite) to get started. -## EdgeOne Pages +## EdgeOne Pages {#edgeone-pages} -Deploy your static site using [EdgeOne Pages](https://edgeone.ai/products/pages) by following these [instructions](https://pages.edgeone.ai/document/vite). ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f +通过遵循这些[说明](https://pages.edgeone.ai/document/vite),使用 [EdgeOne Pages](https://edgeone.ai/products/pages) 部署你的静态站点。 diff --git a/package.json b/package.json index 8cc43ad9..9002b421 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,4 @@ { -<<<<<<< HEAD "name": "vite-docs-cn", "version": "8.0.0-beta.0", "description": "Vite.js documentation Chinese translation.", @@ -39,28 +38,4 @@ "gitHooks": { "commit-msg": "node scripts/verifyCommit.js" } -======= - "name": "@vitejs/monorepo-docs", - "private": true, - "type": "module", - "scripts": { - "typecheck": "vue-tsc", - "docs": "vitepress dev", - "docs-build": "vitepress build", - "docs-serve": "vitepress serve" - }, - "devDependencies": { - "@shikijs/vitepress-twoslash": "^3.19.0", - "@types/express": "^5.0.6", - "feed": "^5.1.0", - "gsap": "^3.14.1", - "markdown-it-image-size": "^15.0.1", - "oxc-minify": "^0.102.0", - "vitepress": "^2.0.0-alpha.15", - "vitepress-plugin-group-icons": "^1.6.5", - "vitepress-plugin-llms": "^1.9.3", - "vue": "^3.5.25", - "vue-tsc": "^3.1.8" - } ->>>>>>> e09887836a807b2d2561880ffc816228552d6c7f } From 8be44ecb9f7a6aca175fb958894213f637f67ba3 Mon Sep 17 00:00:00 2001 From: Kylin <1159469891@qq.com> Date: Sat, 13 Dec 2025 15:10:39 +0800 Subject: [PATCH 6/6] dcos: update content --- blog/announcing-vite7.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/blog/announcing-vite7.md b/blog/announcing-vite7.md index a836587f..9c08b5e9 100644 --- a/blog/announcing-vite7.md +++ b/blog/announcing-vite7.md @@ -51,9 +51,7 @@ _2025年6月24日_ 我们诚邀你加入我们,帮助我们改进 Vite(加入超过 [1.1K 位 Vite Core 贡献者](https://github.com/vitejs/vite/graphs/contributors))、我们的依赖项、插件以及生态系统中的项目。了解更多信息,请参阅我们的[贡献指南](https://github.com/vitejs/vite/blob/main/CONTRIBUTING.md)。 -一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)、[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。 - -一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)、[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](http://chat.vite.dev/),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。 +一个好的入门方法包括:[整理问题](https://github.com/vitejs/vite/issues)、[审阅 PR](https://github.com/vitejs/vite/pulls)、基于未解决问题提交测试 PR,或在 [讨论区](https://github.com/vitejs/vite/discussions) 以及 Vite Land 的 [帮助论坛](https://discord.com/channels/804011606160703521/1019670660856942652) 中为他人提供帮助。如有任何疑问,欢迎加入我们的 [Discord 社区](https://chat.vite.dev),并在 [#contributing 频道](https://discord.com/channels/804011606160703521/804439875226173480) 中与我们交流。 通过关注我们在 [Bluesky](https://bsky.app/profile/vite.dev)、[X(原 Twitter)](https://twitter.com/vite_js) 或 [Mastodon](https://webtoo.ls/@vite),保持更新并与更多基于 Vite 构建的开发者建立联系。