`options.preloadVisibleLinks.enabled` not being applied automatically
hirasso opened this issue · 1 comments
hirasso commented
Description of the issue
IMO it's save to assume that initializing preload plugin like this:
new SwupPreloadPlugin({
preloadVisibleLinks: {
delay: 0,
},
})
...should automatically set preloadVisibleLinks.enabled
to true
. The plugin docs also suggest that behavior.
This is not the case right now. What's your opinion here @daun ?
Before creating this issue...
- Have you provided all helpful information available?
- Have you checked closed issues for similar/related problems?
daun commented
That should definitely work, I agree! Feel free to open a PR that fixes it, otherwise I might get to it later this week.