loadable-components icon indicating copy to clipboard operation
loadable-components copied to clipboard

How to change referencing external styles to preload mode

Open alindas opened this issue 1 year ago • 0 comments

I noticed that after using code lazy loading, the reference mode of the script has changed to preload import mode like <link rel="modulepreload"="index.js" as="script"/>.

Now I want to change the reference mode of CSS to preload mode, similar to<link rel="preload"="style. css" as="style"/>.

Because i want to solve the problem of blocking page rendering caused by referencing external styles in extreme networks.

Is there any way to do this,

alindas avatar Mar 08 '24 12:03 alindas