Link types: modulepreload

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

The modulepreload keyword for the rel attribute of the <link> element provides a declarative way to preemptively fetch a module script and its dependencies, and store them in the document's module map for later evaluation.


HTML Standard
# link-type-modulepreload

Browser compatibility

BCD tables only load in the browser