Skip to content

Commit 921cd3c

Browse files
sync: Update Vite docs from upstream 20250527
1 parent a93ea9a commit 921cd3c

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

docs/guide/features.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ npm add -D stylus
313313

314314
If using Vue single file components, this also automatically enables `<style lang="sass">` et al.
315315

316-
Vite improves `@import` resolving for Sass and Less so that Vite aliases are also respected. In addition, relative `url()` references inside imported Sass/Less files that are in different directories from the root file are also automatically rebased to ensure correctness.
316+
Vite improves `@import` resolving for Sass and Less so that Vite aliases are also respected. In addition, relative `url()` references inside imported Sass/Less files that are in different directories from the root file are also automatically rebased to ensure correctness. Rebasing `url()` references that starts with a variable or a interpolation are not supported due to its API constraints.
317317

318318
`@import` alias and url rebasing are not supported for Stylus due to its API constraints.
319319

@@ -364,7 +364,7 @@ Special queries can modify how assets are loaded:
364364
```js twoslash
365365
import 'vite/client'
366366
// ---cut---
367-
// Explicitly load assets as URL
367+
// Explicitly load assets as URL (automatically inlined depending on the file size)
368368
import assetAsURL from './asset.js?url'
369369
```
370370

docs/guide/static-deploy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The following guides are based on some shared assumptions:
1818
It is important to note that `vite preview` is intended for previewing the build locally and not meant as a production server.
1919

2020
::: tip NOTE
21-
These guides provide instructions for performing a static deployment of your Vite site. Vite also supports Server Side Rendering. SSR refers to front-end frameworks that support running the same application in Node.js, pre-rendering it to HTML, and finally hydrating it on the client. Check out the [SSR Guide](./ssr) to learn about this feature. On the other hand, if you are looking for integration with traditional server-side frameworks, check out the [Backend Integration guide](./backend-integration) instead.
21+
These guides provide instructions for performing a static deployment of your Vite site. Vite also supports Server-Side Rendering. SSR refers to front-end frameworks that support running the same application in Node.js, pre-rendering it to HTML, and finally hydrating it on the client. Check out the [SSR Guide](./ssr) to learn about this feature. On the other hand, if you are looking for integration with traditional server-side frameworks, check out the [Backend Integration guide](./backend-integration) instead.
2222
:::
2323

2424
## Building the App

docs/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
},
1010
"devDependencies": {
1111
"@shikijs/vitepress-twoslash": "^2.5.0",
12-
"@types/express": "^5.0.1",
12+
"@types/express": "^5.0.2",
1313
"feed": "^5.0.1",
1414
"gsap": "^3.13.0",
1515
"vitepress": "^1.6.3",
16-
"vitepress-plugin-group-icons": "^1.5.2",
17-
"vitepress-plugin-llms": "^1.1.4",
18-
"vue": "^3.5.13"
16+
"vitepress-plugin-group-icons": "^1.5.5",
17+
"vitepress-plugin-llms": "^1.3.3",
18+
"vue": "^3.5.14"
1919
}
2020
}

0 commit comments

Comments
 (0)