Skip to content

PreprocessPluginOptions.additionalBannerInitFunctions?

PreprocessPluginOptions › additionalBannerInitFunctions?

Type: readonly (() => void)[]

Self-contained functions serialized into the banner after the shared shims, each invoked once.

Remarks:

Each function is emitted as (${String(fn)})();, so it may reference only globals and what it declares itself.