diff --git a/docs/guides/ecosystem/vite.md b/docs/guides/ecosystem/vite.md index 03ff854721f15b..75d74ac0c9b016 100644 --- a/docs/guides/ecosystem/vite.md +++ b/docs/guides/ecosystem/vite.md @@ -28,30 +28,6 @@ bun install --- -Start the development server with the `vite` CLI using `bunx`. - -The `--bun` flag tells Bun to run Vite's CLI using `bun` instead of `node`; by default Bun respects Vite's `#!/usr/bin/env node` [shebang line](). After Bun 1.0 this flag will no longer be necessary. - -```bash -bunx --bun vite -``` - ---- - -To simplify this command, update the `"dev"` script in `package.json` to the following. - -```json-diff#package.json - "scripts": { -- "dev": "vite", -+ "dev": "bunx --bun vite", - "build": "vite build", - "serve": "vite preview" - }, - // ... -``` - ---- - Now you can start the development server with `bun run dev`. ```bash @@ -60,12 +36,4 @@ bun run dev --- -The following command will build your app for production. - -```sh -$ bunx --bun vite build -``` - ---- - This is a stripped down guide to get you started with Vite + Bun. For more information, see the [Vite documentation](https://vitejs.dev/guide/).