output.enableInlineScripts

  • Type:
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.