Skip to content

Commit d8b02bd

Browse files
committed
fix: preloader not preloading prefetch bundles deps
1 parent d2b31c7 commit d8b02bd

File tree

1 file changed

+1
-2
lines changed
  • packages/qwik/src/core/preloader

1 file changed

+1
-2
lines changed

packages/qwik/src/core/preloader/queue.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,7 @@ export const adjustProbabilities = (
170170
if (
171171
// don't queue until we have initialized the preloader
172172
base != null &&
173-
bundle.$state$ < BundleImportState_Preload &&
174-
bundle.$inverseProbability$ < config.$invPreloadProbability$
173+
bundle.$state$ < BundleImportState_Preload
175174
) {
176175
if (bundle.$state$ === BundleImportState_None) {
177176
bundle.$state$ = BundleImportState_Queued;

0 commit comments

Comments
 (0)