add webpackPreload hint for OutfitControls

This commit is contained in:
Matt Dunn-Rankin 2020-05-18 00:37:13 -07:00
parent 2fc0205304
commit 41e8e5f849

View file

@ -7,7 +7,9 @@ import OutfitPreview from "./OutfitPreview";
import useOutfitState from "./useOutfitState.js"; import useOutfitState from "./useOutfitState.js";
import { usePageTitle } from "./util"; 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 * WardrobePage is the most fun page on the site - it's where you create