Skip to content

How do I add preload to runtime.js? #5359

Answered by 9aoy
Dokome asked this question in Q&A
Discussion options

You must be logged in to vote

You can try adding preload.dedupe: false. By default, if a resource has been added to the current HTML via a script tag, it will not be preloaded additionally.
https://rsbuild.rs/config/performance/preload#preloaddedupe

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Dokome
Comment options

Answer selected by Dokome
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants