Skip to content

injectScriptsToHtml Method

This method is only for Node environments.

ts
function injectScriptsToHtml(html: string, scripts: ManifestScriptsFn): string

html

  • Type: string

HTML string.

ManifestScriptsFn

Same as the scripts parameter in the injectScripts plugin scripts.