The <link rel="preload"></link> HTML feature can be used to fetch scripts and static data on document load, but it doesn't seem to have any provisions for Javascript modules at all.
A recent <link rel="modulepreload"></link> feature has been advertised by Google as solving this, while they also explicitly explained why rel="preload" wouldn't work for modules:
Support for this feature in Firefox is unclear, but it is apparently part of the WHATWG HTML Standard:
developer.mozilla.org html.spec.whatwg.org
Can <link rel="modulepreload></link> be used for modules dynamically imported with calls to import(modulepath)? Is this use supported both in practice and by the relevant specifications, and if not, then what is the best way to preload dynamically imported Javascript modules?