Skip to content

Commit a20673e

Browse files
sync: Update Vite docs from upstream 20250528
1 parent 921cd3c commit a20673e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/config/shared-options.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ Note if an inline config is provided, Vite will not search for other PostCSS con
227227
Specify options to pass to CSS pre-processors. The file extensions are used as keys for the options. The supported options for each preprocessor can be found in their respective documentation:
228228

229229
- `sass`/`scss`:
230-
- Select the sass API to use with `api: "modern-compiler" | "modern"` (default `"modern-compiler"` if `sass-embedded` is installed, otherwise `"modern"`). For the best performance, it's recommended to use `api: "modern-compiler"` with the `sass-embedded` package.
230+
- Uses `sass-embedded` if installed, otherwise uses `sass`. For the best performance, it's recommended to install the `sass-embedded` package.
231231
- [Options](https://sass-lang.com/documentation/js-api/interfaces/stringoptions/)
232232
- `less`: [Options](https://lesscss.org/usage/#less-options).
233233
- `styl`/`stylus`: Only [`define`](https://stylus-lang.com/docs/js.html#define-name-node) is supported, which can be passed as an object.
@@ -247,7 +247,6 @@ export default defineConfig({
247247
},
248248
},
249249
scss: {
250-
api: 'modern-compiler', // or "modern"
251250
importers: [
252251
// ...
253252
],

0 commit comments

Comments
 (0)