craftamap/esbuild-plugin-html

ESM: Add feature to add prefetch imports

craftamap opened this issue · 0 comments

If mode: esm and codesplitting is enabled, we want to allow users to add preloads to imported modules to the html file.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/link
maybe: https://developer.mozilla.org/en-US/docs/Web/HTML/Link_types/modulepreload