Skip to content

Commit bfc3c8f

Browse files
sync: Update Vite docs from upstream 20250701
1 parent 0e7724c commit bfc3c8f

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

docs/guide/api-plugin.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,7 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
416416
server: ViteDevServer
417417
}
418418
```
419+
419420
- `modules` is an array of modules that are affected by the changed file. It's an array because a single file may map to multiple served modules (e.g. Vue SFCs).
420421

421422
- `read` is an async read function that returns the content of the file. This is provided because on some systems, the file change callback may fire too fast before the editor finishes updating the file and direct `fs.readFile` will return empty content. The read function passed in normalizes this behavior.

docs/guide/backend-integration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ If you need a custom integration, you can follow the steps in this guide to conf
9999
}
100100
}
101101
```
102+
102103
- The manifest has a `Record<name, chunk>` structure
103104
- For entry or dynamic entry chunks, the key is the relative src path from project root.
104105
- For non entry chunks, the key is the base name of the generated file prefixed with `_`.

docs/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
"@types/express": "^5.0.3",
1313
"feed": "^5.1.0",
1414
"gsap": "^3.13.0",
15-
"vitepress": "^2.0.0-alpha.6",
16-
"vitepress-plugin-group-icons": "^1.6.0",
17-
"vitepress-plugin-llms": "^1.5.1",
15+
"vitepress": "^2.0.0-alpha.7",
16+
"vitepress-plugin-group-icons": "^1.6.1",
17+
"vitepress-plugin-llms": "^1.6.0",
1818
"vue": "^3.5.17"
1919
}
2020
}

0 commit comments

Comments
 (0)