The modulepreload link relation is used to instruct the browser to preload a JavaScript module before it is needed. This can improve load times by loading dependencies in parallel to parsing and reduces delays in executing modules.
<link rel="modulepreload" href="/scripts/main.mjs"><link rel="modulepreload" href="http://example.com/scripts/main.mjs">