@next-core/brick-kit 2.153.0 → 2.153.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12512,17 +12512,20 @@
12512
12512
  route_alias: route === null || route === void 0 ? void 0 : route.alias
12513
12513
  }, analyticsData));
12514
12514
  _this3.state = "mounted";
12515
- devtoolsHookEmit("rendered"); // Try to prefetch during a browser's idle periods.
12516
- // https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
12517
-
12518
- if (typeof window.requestIdleCallback === "function") {
12519
- window.requestIdleCallback(() => {
12520
- _this3.kernel.prefetchDepsOfStoryboard(storyboard);
12521
- });
12522
- } else {
12523
- setTimeout(() => {
12524
- _this3.kernel.prefetchDepsOfStoryboard(storyboard);
12525
- }, 0);
12515
+ devtoolsHookEmit("rendered");
12516
+
12517
+ if (!_this3.featureFlags["disable-prefetch-scripts"]) {
12518
+ // Try to prefetch during a browser's idle periods.
12519
+ // https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback
12520
+ if (typeof window.requestIdleCallback === "function") {
12521
+ window.requestIdleCallback(() => {
12522
+ _this3.kernel.prefetchDepsOfStoryboard(storyboard);
12523
+ });
12524
+ } else {
12525
+ setTimeout(() => {
12526
+ _this3.kernel.prefetchDepsOfStoryboard(storyboard);
12527
+ }, 0);
12528
+ }
12526
12529
  }
12527
12530
 
12528
12531
  return;