From 9bb1b35d1c04b29d7e053eab4ca9d4c886a6991a Mon Sep 17 00:00:00 2001 From: Robin Drexler Date: Fri, 16 Mar 2018 10:07:24 +0100 Subject: [PATCH] fix(renderer): fix static build not working due to missing res.locals.timing --- packages/build/lib/renderer.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/build/lib/renderer.js b/packages/build/lib/renderer.js index 0092ffa7f..36856b6c1 100644 --- a/packages/build/lib/renderer.js +++ b/packages/build/lib/renderer.js @@ -12,6 +12,7 @@ var createMiddleware = require('./middleware'); module.exports = function createRenderer(webpackConfig, watchOptions) { var router = new express.Router(); + router.use(hopsExpressUtils.timings); hopsExpressUtils.bootstrap(router, hopsConfig); hopsExpressUtils.registerMiddleware( router,