Update build.inlineStylesheets docs (#8061)
Co-authored-by: Elian ☕️ <hello@elian.codes>
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
This commit is contained in:
parent
fb31ce55d9
commit
db5e8ad8af
1 changed files with 4 additions and 4 deletions
|
@ -839,10 +839,10 @@ export interface AstroUserConfig {
|
|||
* @default `never`
|
||||
* @version 2.6.0
|
||||
* @description
|
||||
* Control whether styles are sent to the browser in a separate css file or inlined into `<style>` tags. Choose from the following options:
|
||||
* - `'always'` - all styles are inlined into `<style>` tags
|
||||
* - `'auto'` - only stylesheets smaller than `ViteConfig.build.assetsInlineLimit` (default: 4kb) are inlined. Otherwise, styles are sent in external stylesheets.
|
||||
* - `'never'` - all styles are sent in external stylesheets
|
||||
* Control whether project styles are sent to the browser in a separate css file or inlined into `<style>` tags. Choose from the following options:
|
||||
* - `'always'` - project styles are inlined into `<style>` tags
|
||||
* - `'auto'` - only stylesheets smaller than `ViteConfig.build.assetsInlineLimit` (default: 4kb) are inlined. Otherwise, project styles are sent in external stylesheets.
|
||||
* - `'never'` - project styles are sent in external stylesheets
|
||||
*
|
||||
* ```js
|
||||
* {
|
||||
|
|
Loading…
Reference in a new issue