Skip to content

Commit

Permalink
Update Vite 6 having Modern API as default (#1261)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopslins authored Dec 3, 2024
1 parent cfc2bb1 commit 0878a4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/documentation/breaking-changes/legacy-js-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ Webpack should already use the modern API by default, but if you're getting
warnings, set `api` to `"modern"` or `"modern-compiler"`.
See [Webpack's documentation] for more details.

Vite still defaults to the legacy API, but you can similarly switch it by
setting `api` to `"modern"` or `"modern-compiler"`. See [Vite's documentation]
for more details.
Vite 6 uses the modern API by default. Previous versions of Vite still use the
legacy API, however from Vite 5.4 you can switch it by setting `api` to
`"modern"` or `"modern-compiler"`. See [Vite's documentation] for more details.

For other tools, check their documentation or issue tracker for information
about supporting the modern Sass API.
Expand Down

0 comments on commit 0878a4f

Please sign in to comment.