---
title: enableInlineStyles
---

# output.enableInlineStyles

- **Type:**

```ts
type EnableInlineStyles =
  | boolean
  | RegExp
  | ((params: { size: number; name: string }) => boolean);
```

- **Default:** `false`

Whether to inline output style files (.css files) into HTML with `<style>` tags in production mode.

:::warning
**Deprecated**: This configuration is deprecated, please use the boolean usage of `output.inlineStyles` instead.
:::
