Skip to content

Commit af72b26

Browse files
sync: Update Vite docs from upstream 20250501
1 parent 4503079 commit af72b26

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docs/config/server-options.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,12 @@ export default defineConfig({
377377

378378
Blocklist for sensitive files being restricted to be served by Vite dev server. This will have higher priority than [`server.fs.allow`](#server-fs-allow). [picomatch patterns](https://github.com/micromatch/picomatch#globbing-features) are supported.
379379

380+
::: tip NOTE
381+
382+
This blocklist does not apply to [the public directory](/guide/assets.md#the-public-directory). All files in the public directory are served without any filtering, since they are copied directly to the output directory during build.
383+
384+
:::
385+
380386
## server.origin
381387

382388
- **Type:** `string`

0 commit comments

Comments
 (0)