Skip to content

Commit 29ca40b

Browse files
docs: sunset comparisons page (#19404)
Co-authored-by: 翠 / green <[email protected]>
1 parent 3e07b17 commit 29ca40b

File tree

5 files changed

+9
-28
lines changed

5 files changed

+9
-28
lines changed

docs/.vitepress/config.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -291,10 +291,6 @@ export default defineConfig({
291291
text: 'Backend Integration',
292292
link: '/guide/backend-integration',
293293
},
294-
{
295-
text: 'Comparisons',
296-
link: '/guide/comparisons',
297-
},
298294
{
299295
text: 'Troubleshooting',
300296
link: '/guide/troubleshooting',

docs/blog/announcing-vite2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Vite (French word for "fast", pronounced `/vit/`) is a new kind of build tool fo
3333

3434
To get a sense of how fast Vite is, check out [this video comparison](https://twitter.com/amasad/status/1355379680275128321) of booting up a React application on Repl.it using Vite vs. `create-react-app` (CRA).
3535

36-
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vite.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://vite.dev/guide/comparisons.html).
36+
If you've never heard of Vite before and would love to learn more about it, check out [the rationale behind the project](https://vite.dev/guide/why.html). If you are interested in how Vite differs from other similar tools, check out the [comparisons](https://v5.vite.dev/guide/comparisons.html).
3737

3838
## What's New in 2.0
3939

docs/guide/comparisons.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/guide/why.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ Vite's current plugin API isn't compatible with using `esbuild` as a bundler. In
5757

5858
Rollup has also been working on performance improvements, [switching its parser to SWC in v4](https://github.com/rollup/rollup/pull/5073). And there is an ongoing effort to build a Rust-port of Rollup called Rolldown. Once Rolldown is ready, it could replace both Rollup and esbuild in Vite, improving build performance significantly and removing inconsistencies between development and build. You can watch [Evan You's ViteConf 2023 keynote for more details](https://youtu.be/hrdwQHoAp0M).
5959

60-
## How is Vite Different from X?
60+
## How Vite Relates to Other Unbundled Build Tools?
6161

62-
You can check out the [Comparisons](./comparisons.md) section for more details on how Vite differs from other similar tools.
62+
[WMR](https://github.com/preactjs/wmr) by the Preact team looked to provide a similar feature set. Vite's universal Rollup plugin API for dev and build was inspired by it. WMR is no longer maintained. The Preact team now recommends Vite with [@preactjs/preset-vite](https://github.com/preactjs/preset-vite).
63+
64+
[Snowpack](https://www.snowpack.dev/) was also a no-bundle native ESM dev server, very similar in scope to Vite. Vite's dependency pre-bundling is also inspired by Snowpack v1 (now [`esinstall`](https://github.com/snowpackjs/snowpack/tree/main/esinstall)). Snowpack is no longer being maintained. The Snowpack team is now working on [Astro](https://astro.build/), a static site builder powered by Vite.
65+
66+
[@web/dev-server](https://modern-web.dev/docs/dev-server/overview/) (previously `es-dev-server`) is a great project and Vite 1.0's Koa-based server setup was inspired by it. The `@web` umbrella project is actively maintained and contains many other excellent tools that may benefit Vite users as well.

docs/public/_redirects

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,5 @@ https://vitejs.dev/* https://vite.dev/:splat 301!
55
/guide/api-vite-runtime.html /guide/api-environment 302
66
/guide/api-vite-environment /guide/api-environment 302
77
/guide/api-vite-environment.html /guide/api-environment 302
8+
/guide/comparisons /guide/why#how-vite-relates-to-other-unbundled-build-tools 302
9+
/guide/comparisons.html /guide/why#how-vite-relates-to-other-unbundled-build-tools 302

0 commit comments

Comments
 (0)