Reference

preloadModule

Inserts a modulepreload link for the provided module if it is not already present.

Signature

function preloadModule(href: string, options: PreloadModuleOptions): void