From 41e8e5f849e6e1801e5e52806a2d3e5f81d374f6 Mon Sep 17 00:00:00 2001 From: Matt Dunn-Rankin Date: Mon, 18 May 2020 00:37:13 -0700 Subject: [PATCH] add webpackPreload hint for OutfitControls --- src/app/WardrobePage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/app/WardrobePage.js b/src/app/WardrobePage.js index 3314e01..cf98f2d 100644 --- a/src/app/WardrobePage.js +++ b/src/app/WardrobePage.js @@ -7,7 +7,9 @@ import OutfitPreview from "./OutfitPreview"; import useOutfitState from "./useOutfitState.js"; import { usePageTitle } from "./util"; -const OutfitControls = loadable(() => import("./OutfitControls")); +const OutfitControls = loadable(() => + import(/* webpackPreload: true */ "./OutfitControls") +); /** * WardrobePage is the most fun page on the site - it's where you create