---
title: enableInlineScripts
---

# output.enableInlineScripts

- **Type:**

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

- **Default:** `false`

Whether to inline output scripts files (.js files) into HTML with `<script>` tags in production mode.

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