tweak wording

pull/12374/head
Rich Harris 2 years ago
parent fd818d79f0
commit 5577d60b9b

@ -219,7 +219,7 @@ css = css.replace(/:where\((.+?)\)/, '$1');
### CSS no longer returned from server render by default ### CSS no longer returned from server render by default
In Svelte 4, rendering a component to a string also returned the CSS of all components. In Svelte 5, this is no longer the case by default because most of the time you're using a tooling chain that takes care of it in other ways (like SvelteKit). If you need the CSS string returned from `render`, you can enable it by setting the `css` compiler option to `'injected'`. In Svelte 4, rendering a component to a string also returned the CSS of all components. In Svelte 5, this is no longer the case by default because most of the time you're using a tooling chain that takes care of it in other ways (like SvelteKit). If you need CSS to be returned from `render`, you can set the `css` compiler option to `'injected'` and it will add `<style>` elements to the `head`.
### Error/warning codes have been renamed ### Error/warning codes have been renamed

Loading…
Cancel
Save