Update create-app so that cache manager is passed through to router.

Signed-off-by: Eric Peterson <ericpeterson@spotify.com>
This commit is contained in:
Eric Peterson
2021-07-06 11:34:04 +02:00
committed by Eric Peterson
parent 12ce46b229
commit d48aa5ca1c
@@ -14,6 +14,7 @@ export default async function createPlugin({
config,
discovery,
reader,
cache,
}: PluginEnvironment): Promise<Router> {
// Preparers are responsible for fetching source files for documentation.
const preparers = await Preparers.fromConfig(config, {
@@ -49,5 +50,6 @@ export default async function createPlugin({
logger,
config,
discovery,
cache,
});
}