Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change referencing external styles to preload mode #1001

Open
alindas opened this issue Mar 8, 2024 · 0 comments
Open

How to change referencing external styles to preload mode #1001

alindas opened this issue Mar 8, 2024 · 0 comments

Comments

@alindas
Copy link

alindas commented Mar 8, 2024

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,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant