Repository navigation
Replies: 2 comments
|
Add a standard image preload in the <link rel="preload" as="image" href="https://example.com/hero.png">Use the same URL as the eventual |
|
Remote URLs bypass Vite's pipeline completely, so there's nothing to configure. Add the tag to <link rel="preload" as="image" href="https://cdn.example.com/hero.png">The If the URL is only known at build time, a five-line plugin with the — |
Uh oh!
There was an error while loading. Please reload this page.
Such as, an image
All reactions